Laravel 12 Released with New Features & Long-Term Support
Laravel 12 is here! New helpers, updates, and improved support. Discover what's new and how it impacts developers.

Laravel 12 Released with New Features & Long-Term Support
New Delhi / Global - September 2025
The Laravel framework's latest major version, Laravel 12, has been officially released, bringing fresh enhancements, expanded support, and smarter development utilities. blog.laravel.com+3VersionLog+3Laravel+3
What's New in Laravel 12
-
A new method
withHeartbeat()
in LazyCollection enables periodic callbacks during lazy iteration - especially useful for long-running tasks. Laravel -
The
toPrettyJson()
helper has been added to format JSON output elegantly. Laravel -
Queue workers now support verbose mode, showing job names and IDs during execution, improving debugging and traceability. Laravel
-
The
Uri
class now implements JsonSerializable, fixing serialization inconsistencies. Laravel -
New string helper methods
doesntStartWith()
anddoesntEndWith()
expand Laravel's fluent string processing capabilities. Laravel -
The
pluck()
method can now accept closures, making value/key extraction more flexible. Laravel
The release also brings updates to internal dependencies, minor breaking changes in starter kits, and continued efforts to maintain backward compatibility where possible. laravel.wiki+1
Support & Compatibility
Laravel 12 supports PHP versions 8.2 through 8.4. Laravel+3Laravel Versions+3VersionLog+3
Under its support policy, Laravel will provide bug fixes until August 13, 2026 and security updates through February 24, 2027. VersionLog+2laravel.wiki+2
Earlier major version Laravel 11 is now in a security-only maintenance phase. Laravel Versions+1
What This Means for Developers
The new features in Laravel 12 aim for developer convenience, code readability, and performance safety. The heartbeat callback and improved JSON helpers reduce boilerplate in many web and background task use cases.
Upgrade efforts should consider:
-
Ensuring application and server environments meet PHP 8.2+ requirements
-
Evaluating compatibility of packages and starter kits (some may require updates)
-
Testing custom code paths, especially in routing, queue, or JSON serialization logic
The Laravel team has emphasized minimizing breaking changes and keeping upgrades smooth for existing apps. laravel.wiki+1