laravel/framework breaking changes
composer4 curated breaking changes across major versions of laravel/framework. Use this as a migration checklist before bumping dependencies.
- 11 \u2192 12behavior
No major breaking changes; focus on maintenance. Starter kits (Breeze/Jetstream) consolidated.
MigrationUsually a one-line `composer require laravel/framework:^12.0`. Verify third-party packages support 12.
- 10 \u2192 11config
Slimmer application skeleton: `app/Http/Kernel.php`, `app/Console/Kernel.php`, `app/Exceptions/Handler.php` consolidated into `bootstrap/app.php`.
MigrationNew projects get the new skeleton. Existing apps can stay on the classic skeleton — both are supported. See the upgrade guide to migrate incrementally.
- 10 \u2192 11config
`routes/api.php` is opt-in. `api` middleware group removed from the default kernel.
MigrationRun `php artisan install:api` to enable API routes with Sanctum scaffolding.
- 10 \u2192 11runtime
PHP 8.2+ required (was 8.1+). Node 18+ recommended for build.
MigrationUpgrade PHP and Node first. Run `composer require laravel/framework:^11.0 --with-all-dependencies`.
Get this data programmatically \u2014 free, no authentication.
curl https://depscope.dev/api/breaking/composer/laravel/framework