Laravel upgrading 5.x to 8.x

  • Copy the your current composer.json file.
  • Now go here https://github.com/laravel-shift/laravel-8.x/blob/master/composer.json and copy composer.json file and replace with your existing composer.json file.
  • Again go to https://github.com/laravel-shift/laravel-8.x/blob/master/app/Exceptions/Handler.php and copy the Handler.php file and go to app/exceptions/Handler.php replace Handler.php with your existing file.
  • Run the command composer update.
  • Check your old or your copied composer.json file and if packages have been added to it then you can add packages through this command composer require .
  • Now, again run composer update command.

Leave a Reply

Your email address will not be published. Required fields are marked *

Next Post

Strange call blows up in worst case Ricciardo scenario; big F1 ...

Fri Apr 5 , 2024
Strange call blows up in worst case Ricciardo scenario; big F1 unknown lingers: Talking Pts.

You May Like