Discover all the new features of Laravel 12! Our comprehensive guide presents the most important innovations, improvements and breaking changes.
> Key Takeaway: Laravel 12 brings improved type hinting, faster Eloquent queries, a redesigned starter kit, and enhanced testing utilities. For existing projects, the upgrade tool provides automated migration from Laravel 11, while new features like improved API resources boost developer productivity.
[Laravel](/services/software development) 12: All new features and improvements (2026)
Published: July 2026 | Reading time: approx. 12 minutes Category: Laravel Updates
Laravel 12 is there and brings a wealth of exciting new features, performance improvements and developer experience optimizations. In this article we present you the most important innovations and show how you can benefit from it.
Release Information:
PHP minimum version: PHP 8.2 ** Yes, support up to 2028 Upgrade of Laravel 11: Usually easily possible
The most important new features
Improved Starter Kits NEW
Laravel 12 introduces completely revised starter kits that combine React, Vue or Livewire with Inertia.js. The new kits offer:
Modernized UI components
Dark fashion out-of-the-box
Improved TypeScript support
Optimized build processes with Vite
Native Health Checks NEW
Laravel 12 now offers native health check endpoints for your application:
// routes/web.php Route::health('/up');
// Checks automatically: // - Database connection // - Cache connection // - Queue connection
Improved Artisan commands NEW
The Artisan CLI has been extended with interactive prompts and better user guidance:
php artisan make:model
Interactive query:
- Do you want to create a migration? (yes/no)
- Do you want to create a controller? (yes/no)
- Which controller type? (resource/api/invokable)
Eloquent Performance Improvements NEW
Eloquent has been internally optimized and now offers:
Up to 30% faster model hydrogenation
Improved memory efficiency in large datasets
New chunkById optimizations
New Blade directives
{{-- New @once directive for one-time edition --} } @once <script src=‘/js/chart.js’> </script> @endonce
{{-- Improved @class directive --} } <div@class([ 'p-4', 'bg-red-500' => $hasError, 'bg-green-500' => $isSuccess, ] > ... </div>
New Collection Methods
// New sliding() method for sliding windows $collection = collect([1, 2, 3, 4, 5); $sliding = $collection->sliding(3); // [[1, 2, 3], [2, 3, 4], [3, 4, 5]]
// New takeUntilTimeout() method $collection->takeUntilTimeout(now()->addSeconds(5));
Upgrade Guide: From Laravel 11 to 12
Step Command/action
Check PHP version php -v (at least 8.2)
composer.json update "laravel/framework": "^12.0"
Update dependencies compilation
Check Breaking Changes Read the Upgrade Guide
Run tests php artisan test
Breaking Changes Note
Some outdated methods were removed
Minimum PHP version is now 8.2
Some configuration options have been renamed
Check the official documentation for details
Fazite
Laravel 12 is a solid release that further expands the strengths of the framework. Performance improvements, new starter kits and improved developer experience make upgrad
About the author
Managing Director & Founder
For over 15 years Björn Groenewold has been developing software solutions for the mid-market. As founder of Groenewold IT Solutions he has successfully supported more than 250 projects – from legacy modernisation to AI integration.
Read more
Related articles
These posts might also interest you.
Laravel Testing: Robust applications by testing 2026
Write robust tests for your Laravel application! Our guide will guide you…
Laravel Deployment: From Local to Production 2026
Bring your Laravel application to production! Our guide will guide you through…
Laravel Tutorial German: The ultimate guide for...
Learn Laravel from scratch! Our comprehensive German tutorial for beginners…
Free download
Checklist: 10 questions before software development
Key points before you start: budget, timeline, and requirements.
Get the checklist in a consultationRelevant next steps
Related services & solutions
Based on this article's topic, these pages are often the most useful next steps.

