Upgrade Laravel 5.4 to Laravel 5.5

The Laravel 5.5 Shift automates the upgrade from Laravel 5.4 to Laravel 5.5. Using the Laravel 5.5 Shift to automatically upgrade your Laravel application has an estimated time savings of 1 hour.

It's important to remember Laravel 5.5 is the latest version. As such, both Laravel and the Laravel 5.5 Shift are under active development.

Requirements

A Laravel application running Laravel 5.4.

Core Upgrades

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

  • Adding new core Middleware for Laravel 5.5.
  • Changing the fire method to handle in Commands.
  • Finding outdated references to Eloquent and Request methods.
  • Converting old Test methods for Laravel 5.5.
  • Detecting backward incompatibilities within your application code.
  • Updating composer.json for Laravel 5.5.

Additional Upgrades

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

  • Adopting the PSR-2 coding style to match the coding style in Laravel.
  • Modernizing PHP syntax, such as the short array syntax.
  • Converting string references to classes to ::class references.
  • Updating core config files to their Laravel 5.5 versions.

Manual Upgrades

There are some upgrades the Laravel 5.5 Shift can not perform automatically. When Shift detects these upgrades it adds a detailed comment on the Pull Request to help guide the manual upgrade.

  • Laravel 5.5 changes the default response format. Since this likely affects front-end code, Shift can not automate these changes.

Still have questions? Message @laravelshift on Twitter or email shift@laravelshift.com.