1.

How to upgrade form laravel 5 to laravel 6?

Answer»
  • Open the laravel project inside the code editor.
  • Go to the Composer.json file and change the laravel/framework from 5 to 6.
  • Open the terminal and write the COMMAND – composer update and hit ENTER to wait for the update to complete.
  • After finished RUN the server command (PHP artisan serve) and run the project in a browser.
  • After this , again go to terminal and write command –(composer require laravel/ui) and hit enter and download the packages.
  • Then, for creating the auth file write the command ( PHP artisan ui vue-auth) to make the auth file in laravel 6.0.

In this way, we can upgrade from laravel 5 to laravel 6.



Discussion

No Comment Found