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

Mahesh Samudra picture Mahesh Samudra · Apr 17, 2018 · Viewed 20.7k times · Source

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?

Answer

dilusha_dasanayaka picture dilusha_dasanayaka · May 1, 2018

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