Member-only story

What’s new in Laravel 12?

HouseOfCoder
3 min readFeb 21, 2025
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…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

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

To respond to this story,
get the free Medium app.

Recommended from Medium

Lists

See more recommendations