Upgrading Laravel 5.4 to latest version (5.7)

Michael picture Michael · Oct 17, 2018 · Viewed 28.9k times · Source

I am working on Laravel 5.4 with PHP version 5.6.4. My goal is to upgrade my project to Laravel 5.7 with PHP 7.1.

Now my question is: Do I have to upgrade to 5.5 > 5.6 > 5.7 or can I go directly from 5.4 to 5.7?

Answer

Gordy picture Gordy · Oct 17, 2018

There are some articles on documentation. You can upgrade to 5.7 directly but be sure to modify critical sections from this links 5.5->5.6, 5.6->5.7. And make a backup of current project first