Overview
Comprehensive guide to Laravel 11 changes: slimmed application structure, new defaults, and migration path.
The Slimmed Application Structure
Laravel 11's most visible change is the dramatically simplified application scaffold. Gone are the default middleware files, kernel classes, and the app/Http/Controllers/Controller.php base class. The framework now handles these internally.
This removes hundreds of lines of boilerplate that developers rarely modified. Your new Laravel 11 app has fewer files but identical—or greater—flexibility.
- No more app/Http/Kernel.php
- No default middleware classes to maintain
- Single routes/web.php entry point
- bootstrap/app.php is the new configuration centre
New Health Route
Laravel 11 ships with a /up health check endpoint out of the box. It verifies that the application can boot, execute code, and optionally connect to the database—perfect for Kubernetes liveness probes and load balancer health checks.
// In bootstrap/app.php
return Application::configure(basePath: dirname(__DIR__))
->withRouting(
web: __DIR__.'/../routes/web.php',
health: '/up', // ← Built-in health endpoint
)Upgrading from Laravel 10
The upgrade path is smoother than past major versions. The key changes are: PHP 8.2+ required, Composer package updates, and adopting the new application structure (optional but recommended).
Most Laravel 10 apps can be upgraded in under an hour. The official upgrade guide covers every breaking change, and the laravel/upgrade tool automates many of them.
- Requires PHP 8.2 minimum (8.3 recommended)
- Run: composer require laravel/framework:^11.0
- Review deprecation notices in your existing code
- Migrate to the slim structure incrementally
Key Takeaways
- The slim structure reduces boilerplate without sacrificing flexibility
- Built-in /up health endpoint simplifies deployment
- PHP 8.2+ is required—upgrade your runtime first
- Lazy loading prevention is now opt-in via the model
- Dumpable, Tappable, and new Str helpers speed up development
Saurav Rai
Founder & Lead Architect, Omni Stack
7+ years building enterprise .NET and cloud applications for clients across Australia, USA, and the Middle East. Passionate about clean architecture, developer experience, and shipping fast.