laravel/framework breaking changes

composer

4 curated breaking changes across major versions of laravel/framework. Use this as a migration checklist before bumping dependencies.

4
changes
Breaking changes by transition
  • 11 \u2192 12behavior

    No major breaking changes; focus on maintenance. Starter kits (Breeze/Jetstream) consolidated.

    Migration

    Usually 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`.

    Migration

    New 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.

    Migration

    Run `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.

    Migration

    Upgrade PHP and Node first. Run `composer require laravel/framework:^11.0 --with-all-dependencies`.

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/composer/laravel/framework
laravel/framework breaking changes — Composer migration guide | DepScope