Shift with red gradient lettering

Upgrade Laravel 5.6 to Laravel 5.7

The Laravel 5.7 Shift automates the upgrade of your Laravel application from Laravel 5.6 to Laravel 5.7. Using the Laravel 5.7 Shift to automatically upgrade your Laravel application has an estimated time savings of 45 minutes.

Laravel 5.7 has reached end of life. It no longer receives bug fixes or security updates. Shift strongly recommends continuing your upgrade to the latest LTS release or latest stable release of Laravel. Watch upgrading old Laravel applications for tips on running multiple Shifts effectively.

Screenshot of a pull request with automated changes from the Laravel 5.7 Shift


  • A Laravel application running Laravel 5.6.x.
  • A server running PHP 7.1.3 or higher.

Core Upgrades

The Laravel 5.7 Shift automates many of the upgrades listed in the Laravel Upgrade Guide, including:

  • Upgrading core Middleware to their Laravel 5.7 versions.
  • Moving assets to their new folder structure.
  • Detecting backward incompatibilities within your application code.
  • Converting removed Blade syntax.
  • Updating composer.json for Laravel 5.7.

Additional Upgrades

In addition to the Core Upgrades, the Laravel 5.7 Shift performs additional upgrades beyond those listed in the Laravel Upgrade Guide, including:

  • Applying your code style.
  • Modernizing PHP syntax, such as short arrays.
  • Converting string based class references to ::class references.
  • Updating core config files to their Laravel 5.7 versions.

Manual Upgrades

There are some upgrades the Laravel 5.7 Shift can not perform automatically. When Shift detects these it adds a detailed comment to the Pull Request to guide any additional steps you may need to do manually.

Sign in with any of the following services to connect Shift with your Laravel project.

Don't use one of these services?

Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.