Laravel 12: Everything you need to know

By Rutger Broerze · 25 September 2024

Laravel 12: Everything you need to know image

When will Laravel 12 be released?

Laravel 12 is scheduled for release in Q1 2025. It will receive bug fixes until Q3 2026, and security fixes until Q1 2027. Exact dates will be announced later.

What new features can we expect in Laravel 12?

Laravel 12 will introduce a variety of changes and new features. These are the most important ones.

  • MD5 will be replaced by the much faster xxHash.
  • Models that make use of the HasUuids trait, will now use UUID v7 instead of UUID v4.
  • When using MariaDB, Laravel will utilize native MariaDB CLI commands instead of relying on MySQL equivalents.
  • The RefreshDatabase trait will work better when using multiple databases in your application.
  • The Collection::range method will have a new step parameter.
  • Chunked queries will now honor user-defined limits.

A complete list of merged Laravel 12 pull requests can be found in the laravel/framework repository on GitHub.

Start monitoring today

Websites go down and code throws errors. Ranetrace tells you when it happens to yours, why it matters and what to do next.

Start your 30-day free trial From $9 a month. No credit card required.