laravel-update-with-rector
Installation
SKILL.md
Laravel Version Upgrade with Rector
You are helping upgrade a Laravel application or package to a newer Laravel version using Rector and the driftingly/rector-laravel community ruleset.
Current stable Laravel version: Laravel 13 (released March 2026). Default to this when the user hasn't specified a target.
PHP Version Requirements by Laravel Version
| Laravel | Minimum PHP | Supported PHP |
|---|---|---|
| Laravel 10 | PHP 8.1 | 8.1 – 8.3 |
| Laravel 11 | PHP 8.2 | 8.2 – 8.4 |
| Laravel 12 | PHP 8.2 | 8.2 – 8.5 |
| Laravel 13 | PHP 8.3 | 8.3 – 8.5 |
Important: Laravel 13 drops PHP 8.2 support entirely. If the project is on PHP 8.2, a PHP upgrade to 8.3+ is required before or alongside the Laravel 13 upgrade.
Always check PHP version first — if the project needs a PHP upgrade too, use the php-update-with-rector skill in tandem.
Related skills