Shift with red gradient lettering

Upgrade Laravel 5.2 to Laravel 5.3

The Laravel 5.3 Shift automates the upgrade of your Laravel application from Laravel 5.2 to Laravel 5.3. Using the Laravel 5.3 Shift to automatically upgrade your Laravel application has an estimated time savings of 2 hours.

Laravel 5.3 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.3 Shift

Requirements

  • A Laravel application running Laravel 5.2.x.

Core Upgrades

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

  • Splitting out the new Authentication controllers.
  • Upgrading core Middleware and Providers to their Laravel 5.3 versions.
  • Detecting backward incompatibilities within your application code.
  • Adding new Laravel 5.3 configuration options.
  • Updating composer.json for Laravel 5.3.

Additional Upgrades

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

  • Applying your code style.
  • Modernizing PHP syntax, such as short arrays.
  • Streamlining the app folder structure by removing placeholders.
  • Creating the new routes folder structure.
  • Removing outdated framework components from your application.

Manual Upgrades

There are some upgrades the Laravel 5.3 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.

  • A few of the Query Builder methods changed in Laravel 5.3. Given the intricacy of query building, Shift can not automate this upgrade.
  • Laravel 5.3 includes several new default assets. Since your application likely customizes these assets, Shift does not change these files.

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.