Member-only story

What’s new in Laravel 12?

HouseOfCoder
3 min read1 day ago
Laravel 12

As we all know, Laravel 12 is set to release on Monday, February 24, 2025. Let’s get a sneak peek at what to expect :)

Laravel 12 is primarily characterized as a release focused on maintenance, which means it emphasizes stability, refinement, and updates to dependencies rather than introducing a plethora of new features. Nonetheless, it does bring in several improvements and refinements that developers will find advantageous.

Here’s an overview of the main new features and changes anticipated in Laravel 12:

Performance Enhancements

  • xxHash Replacing MD5: In Laravel 12, the slower MD5 hashing algorithm is replaced with xxHash, which is faster and more efficient. This change improves performance in scenarios that involve hashing, such as caching or generating unique identifiers.
  • Query Execution Improvements: The Query Builder has been optimized to utilize database-specific features more effectively, reducing redundant computations and speeding up complex queries. This continues Laravel’s ongoing effort to make applications run more efficiently under load.

UUID v7 for Models

Models utilizing the HasUuids trait will now generate UUID v7 instead of UUID v4. UUID v7 includes a timestamp component, making it more suitable for…

--

--

HouseOfCoder
HouseOfCoder

Written by HouseOfCoder

Web developer by profession. Crafting code and contemplative thoughts. Join me on a journey of tech, life, and mindfulness.

No responses yet