Laravel 11 & 12 Updates: What You Need to Know
As the PHP ecosystem continues to evolve, Laravel remains at the forefront of modern web development. Whether you are building a simple API or a complex enterprise application, staying up-to-date with...
As the PHP ecosystem continues to evolve, Laravel remains at the forefront of modern web development. Whether you are building a simple API or a complex enterprise application, staying up-to-date with the latest framework features is essential for performance, security, and developer productivity. The transition from Laravel 11 to Laravel 12 represents a fascinating shift from structural overhaul to stability and refinement.
In this comprehensive guide, we'll dive deep into the most critical updates introduced in Laravel 11 and 12, exploring new features, architectural changes, and what you need to know to future-proof your applications.
The Big Shift: Laravel 11's Streamlined Architecture
Released in March 2024, Laravel 11 focused heavily on reducing boilerplate code and making the framework more approachable for new developers, while offering a faster workflow for seasoned veterans.
Minimal Application Structure
The most noticeable change in Laravel 11 was the drastically simplified application skeleton.
* Fewer Default Files: The HTTP and Console kernels were entirely removed. * Consolidated Providers: The traditional `Providers` directory was condensed into a single `AppServiceProvider`, removing the clutter of multiple provider files. * Streamlined `bootstrap/app.php`: High-level application configuration—including routing, middleware, and exception handling—is now elegantly managed through this single entry point. * Config File Reduction: Many default configuration files were removed or pushed into the `.env` file, meaning you only publish the configs you actively need to modify.
Laravel Reverb: Real-Time Made Easy
Real-time capabilities received a massive upgrade with the introduction of Laravel Reverb. Reverb is a first-party, wildly scalable WebSocket server built directly for Laravel applications. It removes the reliance on third-party services like Pusher, allowing developers to host robust, high-performance WebSocket connections natively.
SQLite by Default
To speed up the initial development phase, new Laravel 11 applications utilize SQLite as the default database. This eliminates the immediate need to configure a local MySQL or PostgreSQL instance just to start scaffolding an application.
Stability and Polish: What's New in Laravel 12
Released in February 2025, Laravel 12 took a different approach. Rather than introducing sweeping architectural shifts that require massive refactoring, Laravel 12 is characterized by maintenance, stability, and high-impact developer experience (DX) improvements. It was designed to ensure that the vast majority of Laravel 11 applications can be upgraded with minimal friction.
Revamped Starter Kits
Laravel 12 brought a major overhaul to application starter kits. Moving away from standard stubs, the new starter kits are distributed as unified Composer packages, providing modern, pre-configured stacks out of the box:
* Inertia 2 Support: Dedicated kits for both React and Vue powered by the newly released Inertia 2. * Livewire v3: A deeply integrated Livewire starter kit. * Modern UI Stacks: All starter kits now include out-of-the-box support for Tailwind CSS, TypeScript, and beautifully designed shadcn/ui components.
WorkOS AuthKit Integration
Authentication is a critical component of any web app, and Laravel 12 makes it easier than ever. The new starter kits offer an optional, seamless integration with WorkOS AuthKit. This provides developers with enterprise-grade authentication features—including social logins, passkeys, and Single Sign-On (SSO)—without having to build complex auth flows from scratch.
Context API Promotion
Introduced experimentally in the 11.x cycle, the `Context` facade has been promoted to a first-class feature in Laravel 12. It provides guaranteed per-request context isolation, which is highly beneficial when running Laravel Octane or complex queue workers. Queued jobs now automatically receive a snapshot of the context exactly as it was at the time of dispatch, making debugging and tracing significantly easier.
Upgrading: What You Should Know
If you are planning a migration from Laravel 10 to 11, or from 11 to 12, there are a few important technical requirements and policies to keep in mind.
PHP 8.2 Requirement
Starting with Laravel 11 and continuing through Laravel 12, the framework requires PHP 8.2 or higher. If your servers are running older versions of PHP, you will need to prioritize a server upgrade before updating your Laravel applications.
Continuous Delivery and Support
Laravel continues its strategy of shipping continuous, incremental improvements via minor releases throughout the year. * Laravel 11 includes 18 months of bug fixes and 2 years of security fixes. * Laravel 12 maintains the standard policy of minimal breaking changes, ensuring that the transition from version 11 is incredibly smooth.
Conclusion
The evolution from Laravel 11 to Laravel 12 showcases a mature framework that understands the balance between innovation and stability. Laravel 11 did the heavy lifting by modernizing the directory structure and introducing Reverb, while Laravel 12 polished the ecosystem with incredible starter kits, enhanced authentication options, and strict performance optimizations.
Whether you are starting a brand new project on Laravel 12 or upgrading an existing Laravel 11 application, the ecosystem has never been more developer-friendly, performant, and feature-rich. Ensure your servers are running PHP 8.2+, take advantage of the new unified starter kits, and enjoy building on one of the most powerful PHP frameworks available today. For teams that need help building the application itself — billing systems, internal dashboards, or custom workflows — OpenLoop custom software development covers architecture and delivery for businesses across India.
Automate your operations
Discover how OpenLoop's fixed-price software can eliminate manual leakage.
Request an Audit