Upgrade to Laravel 10 from Laravel 9 | Update Laravel 9.0 to Laravel 10.0 | Steps to Upgrade Laravel

Описание к видео Upgrade to Laravel 10 from Laravel 9 | Update Laravel 9.0 to Laravel 10.0 | Steps to Upgrade Laravel

In this video, we are going to upgrade to Laravel 10 from Laravel 9 by taking the below simple steps.

1) Upgrade PHP Version
First of all, make sure to upgrade the PHP version of your Apache Server like Xampp, Wamp to PHP 8.1

2) Update composer.json file:-
Now, update the composer.json file to upgrade the PHP version to 8.1 and laravel/framework to 10.0 from 9.00 along with some other dependencies as shown in the video.

Updated dependencies must look like below:-

"require": {
"php": "^8.1",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^10.0",
"laravel/sanctum": "^3.2",
"laravel/tinker": "^2.8"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"laravel/pint": "^1.0",
"laravel/sail": "^1.18",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0",
"spatie/laravel-ignition": "^2.0"
},

3) Run "composer update" command:-
Now run the "composer update" command to finally upgrade Laravel 9 to 10

4) Verify Laravel version:-
Now you can verify the laravel version by running the below artisan command:-
php artisan --version

In my case, it's coming like Laravel Framework 10.0.0, check yours.

5) Run Laravel Project:-
Now run your laravel project by running the below artisan command:-
php artisan serve

Check everything is working fine after updating your project to Laravel 10.0

Thanks for watching :)

►Laravel 9 Tutorial Playlist (Create Multi-Vendor E-commerce Website) -    • Laravel Multi Vendor Tutorial  

►Click here to subscribe for Laravel & other updates -    / stackdevelopers  

Popular Stack Developers Series that can help you:-

►React JS Tutorial for Beginners with Laravel 9 -    • React JS Tutorial with Laravel for Be...  

►Laravel Tutorial for Beginners -    • Laravel Tutorial for Beginners | Adva...  

►GIT Tutorial for Beginners -    • Git Tutorial for Beginners | Create y...  

►Laravel API Tutorial -    • Laravel API Tutorial | Create API fro...  

►Laravel Interview Questions -    • Laravel Interview Questions & Answers...  

►jQuery Tutorial -    • jQuery Tutorial  

►Laravel Basic E-commerce Series -    • Make Admin Panel / E-commerce Website...  

►Laravel Dating Series -    • Make Dating / Social Networking Websi...  

►Join this channel to get the complete source code of all series:
   / @stackdevelopers  

Follow Stack Developers on Social Media to get updates and resolve your queries
►Like Facebook Page to get updates -   / stackdevelopers2  
►Join Facebook Group to resolve your queries -   / stackdevelopers  
►Follow on Instagram -   / stackdevelopers2  
►Follow on GitHub - https://github.com/stackdevelopers

#laravel9 #laravel9tutorial #laravel

Комментарии

Информация по комментариям в разработке