How to Upgrade to Laravel 9 | Upgrade to Laravel 9 from Laravel 8

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello and welcome to tech tool india in this video i am going to explain you how you can upgrade your laravel version from laravel 8 to laravel 9. as you all know laravel 9 has recently launched whatever project you are working might be in the laravel 8 and for better support and for better features you should update your project to laravel 9 so without wasting any time let's get started if you are new to the channel please do subscribe our channel to get more such videos in future i am going to use tech admin which is a laravel 8 admin panel if you want to know how you can create this panel or use this panel you can click on the i button or see the description you will get the link of the video where you can see how we have created this tech admin so this admin panel is included with the bootstrap 4 and level 8 so i am going to upgrade it to level 9 so let's go to the documentation and see what we have to do in order to update into level 9 so if you go to the laravel.com and you see this upgrade guide let's go and see what we need to update for updating the dependency it requires at least php 8.0.2 so i already updated my php to 8.1 so it's already fulfilled next what we need to do we need to go into composer.json file and update these two fails for level framework we need to update to 9.0 so let's open the composer.json file as you see my current version of the laravel is 8.83 so let's see where we have it's right now it's 8.7 so we need to do it 9.0 as per the documentation and next thing which we need to update is the collision let's find where it is here what we need to update we need to update it to 6.1 so let's save it file so the next thing which we need to do we need to replace the this facade ignition with this one let's find out this in here composer.json and replace it with this new package as we are good here we have updated the composer now let's see what other update we need to do in order to get this updated in laravel 9. now it depends on your project if you have used these are the things like session testing queues so you need to check for each of the updates and you need to update those things but i'm not using any such things in my project so i'm just keeping these part you need to read whole document in order to get all the detail of what is needs to be updated on the project so i have updated everything let's go ahead you know and run the composer update command and let's see what it does so it updated all the composer dependency let's see what current version of laravel it has you see the current version of laravel is 9.1.0 let's go to the application and see if it is working fine or not i'm going to refresh this page this page is loading fine i'm going to use admin credential logged in i can log in with the admin credential i have a list of user i can go to the new create test user let's give it a user save this so i am able to save this if i disable this i can able to disable enable if i go to edit and just inactivate it update this yes so you see i am able to do all the operation in my application i could able to logged out i can log out so everything seems to working as of now two major thing which you need to take care while upgrading your application from lavalier to lava line first is to take a backup of your application including your database and storage so that you don't lose any kind of data second is to you have to read all the upgrade guide from the laravel.com in order to make sure like you have updated everything because what application i have updated it's it's just a basic application with user management so i have not used many features of the level in this application that's why it takes quick you know upgrade for me to upgrade the application from eight to nine but for it it could be the different case in your application so make sure like when you are upgrading your laravel project from eight to nine you need to follow all the documented details here in the documentation while upgrading if you face any issue just let me know in the comment section i'll try to resolve it for you if you found this video informative please do subscribe our channel till the next video keep watching keep learning thank you for watching [Music] you
Info
Channel: TechTool India
Views: 3,473
Rating: undefined out of 5
Keywords: laravel 9, laravel, laravel 9 install, how to install laravel 9, laravel 9 new features, laravel 9 novedades, laravel 8, upgrade to laravel 9, install laravel 9, laravel 9 new updates, laravel 9 installation, upgrade to laravel 9 from laravel 8, how to install laravel, laravel 9 tutorial, upgrade laravel 8 project to 9, upgrade laravel 8 to 9 website, upgrade to laravel 7, laravel upgrade to 7, upgrade laravel 8 website to laravel 9 website, laravel tutorial
Id: zTB0qLChbAQ
Channel Id: undefined
Length: 6min 25sec (385 seconds)
Published: Thu Feb 17 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.