Then just rollback to a previous commit (pre 5.1).
git reset --hard <tag/branch/commit id>
http://stackoverflow.com/questions/4114095/revert-to-a-previous-git-commit
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I need to properly downgrade from 5.1 back to 5.0. Was told by systems that we would have the "latest" version of PHP available... I guess they thought that meant php 5.4
Anyway.,.. I upgraded to Laravel 5.1, made about 5 commits, then went to deploy to production and it's only at php 5.4
I need to revert back to Laravel 5.0 until they are ready to update their debian packages systems with php 5.6
Thanks! Troy
I think the easiest way would be updating your composer.json file to use version 5.0. Then completly delete the vendor directory and run composer install again. From there check if all your code still works or not ;)
Please or to participate in this conversation.