The Livewire 2.x Shift automates the upgrade of your Laravel application from Livewire 1.x to Livewire 2.x. Using the Livewire 2.x Shift to automatically upgrade your Laravel application has an estimated time savings of 1 hour.
Livewire 2 has reached end of life. Shift strongly recommends continuing your upgrade with the Livewire 3.x Shift and Livewire 4.x Shift.
The Livewire 2.x Shift automates the changes from the Livewire 2 upgrade guide, including:
Route::livewire() to Route::get().$updatesQueryString to $queryString.In addition to the Core Upgrades, the Livewire 2.x Shift performs additional upgrades, including:
::class constant.There are some upgrades the Livewire 2.x Shift can not perform automatically, such as custom property casters, route group layouts, and JavaScript hooks using the new arguments. When Shift detects these it adds a detailed comment to the Pull Request to guide any additional steps you may need to do manually.
While Shift attempts to detect and automate the updates for popular packages, you may need to update some of your dependencies manually. Always review the changelog for your dependencies for any additional changes.
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.