Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to downgrade in Laravel Framework? (5.6 to 5.5)

I have a project which is done with Laravel 5.6. But My current server doesn't have php 7.1 installed yet. How is it possible to downgrade to Laravel 5.5?

like image 667
Mahesh Samudra Avatar asked Apr 17 '18 18:04

Mahesh Samudra


1 Answers

I also down graded my project also, but then I was getting ton of errors. But most of them were about unfamiliar key words and unsupported packages. So, success depends on your project’s dependencies and also your effort.

Follow these steps.

  1. Backup your project

  2. Change the value of Laravel version inside the composer.json to Laravel 5.5

  3. Delete vendor folder

  4. Run composer install

** By then you will have to take care of any issues in your own code because there should be new functionalities in earlier versions which is not used in older.

Or

Go to this page and do the instructions in reverse order

like image 127
dilusha_dasanayaka Avatar answered Sep 20 '22 15:09

dilusha_dasanayaka