Shift with red gradient lettering

Your guide to upgrading Laravel

The Laravel PreShift is an initial Shift you may run to familiarize yourself with the process of upgrading your Laravel application with Shift.

The Laravel PreShift will guide you on which Shifts you need to run to upgrade to the latest version of Laravel, as well as spot potential issues you may encounter when upgrading.

Screenshot of a pull request with automated changes from the Laravel PreShift

Requirements

  • A Laravel application running Laravel 4.x or higher.

Automated Conversions

The Laravel PreShift performs some automation to give you a feel for using Shift, including:

  • Modernizing PHP syntax, such as short arrays.
  • Converting string based class references to ::class references.
  • Applying your code style.
  • Detecting potentially abandoned dependencies.

Manual Upgrades

This Shift does not perform any required changes. However, it may suggest changes you may make to improve the automation by other Shifts.

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.