Hyvä Theme is Now Open Source: What This Means for Magento Community - Mageplaza
Hyvä is now Open Source and free. Discover what changed, what remains commercial, how it impacts the Magento ecosystem, and how to maximize its full potential.
Summer Nguyen | 05-06-2024
The famous PHP framework Laravel is still the leader in the web development field. It becomes evident that the wide acceptance of the Laravel framework by over 1.9 million websites is because developers worldwide choose this framework for its user-friendliness, tangible features as well as a large and diverse community.
Laravel v11 is at our doorstep and it comes with a bundle of delightful features along with an improved development experience. Whether you are an experienced Laravel connoisseur or a newcomer trying the framework, you should continue your journey with the latest release that guarantees to advance your web development journeys.
Do you want to get familiar with Laravel’s newest features? Let’s fire up Laravel 11!

Laravel keeps things organized by following a system called semantic versioning. This means each version number has three parts (like 11.2.10):
Laravel typically launches a new major version each year, with smaller updates rolled out more frequently. To understand the evolution of this powerful framework, let’s take a look at some of Laravel’s previous versions. This table provides a snapshot of key releases, their support status, and the major features they introduced.
| Version | Release Date | Support Status | Key Features Introduced | Notes |
|---|---|---|---|---|
| Laravel 10 | February 2023 | Active (bug fixes, security fixes for longer) | Pending Feature List (Update when closer to official release) | |
| Laravel 9 | September 2022 | Active (bug fixes until Sept 2024, security fixes until Sept 2025) | Symfony 6 components, Flysystem 3, new route:list syntax | LTS Version |
| Laravel 8 | September 2020 | Inactive | Laravel Jetstream, Improved Blade components, Model factories | |
| Laravel 7 | March 2020 | Inactive | Laravel Sanctum (API Authentication), Blade component tags, Fluent string operations | |
| Laravel 6 | September 2019 | Inactive | Laravel UI (Frontend Presets), Semantic Versioning, Lazy Collections | LTS Version |
LTS versions are like the dependable older sibling of Laravel. They get bug fixes for two years and security patches for three years, making them prime choices for projects needing extra stability. From now on, Laravel only supports version 9 and above, so merchants and developers must be aware of updating your Laravel version to get the best support for your digital products.

Laravel 11, the latest iteration of this dear PHP framework, was released in March 2024. Its introduction sparked the modifications we are observing in this framework today. With this huge update, the application skeleton has been taken down to the level where no boring boilerplate code is needed, creating a more enjoyable developer environment instead. Besides the additional capabilities like the model as a method that helps organize the code even better per-second rate limiting are added to other features for finer control for developers.
Additionally, Laravel Reverb, the first-party WebSocket server, further empowers you to create real-time, dynamic web applications with ease. Staying true to its roots, Laravel 11 focuses on optimizing your workflow and delivering powerful tools for building modern web solutions.
Traditionally, new Laravel projects included default route files (`routes/web.php` and `routes/api.php`) and a Console Kernel class to manage scheduled tasks. Laravel 11 introduces a more minimalistic and flexible approach to application structure. Key changes include:
The Laravel 11 structure having been simplified means that you no longer have to copy and paste lots of boilerplate codes. This leaves you to decide how your routes will be organized and how scheduled tasks to be maintained. This means a cleaner starting line, a more productive development, and the ability to create a project structure that fulfills your needs.
Laravel’s model casting allows you to automatically convert attributes to specific data types (e.g., integers, booleans, arrays) when interacting with your Eloquent models. Laravel 11 introduces a more organized and flexible approach with method-based model casting. Instead of defining an array of casting rules in the `$casts` property, you now use the `casts()` method within your Eloquent model.
For example:
class User extends Model
{
// ... other model code ...
protected function casts(): Attribute
{
return Attribute::make(
get: fn ($value) => $value ? json_decode($value, true) : [],
set: fn ($value) => json_encode($value),
);
}
}
This method-based model casting enhances code readability by consolidating casting logic directly within the relevant Eloquent model, which brings several benefits:
Importantly, the traditional `$casts` property syntax remains supported in Laravel 11, ensuring backward compatibility for existing projects.

Rate limiting is a crucial tool for protecting applications against API abuse, preventing resource exhaustion, and managing traffic spikes. Laravel has always offered excellent rate-limiting features, and Laravel 11 takes this a step further by introducing per-second granularity.
You can now restrict specific routes or actions to a maximum number of requests within a single second. Traditionally, Laravel’s rate limits worked on a per-minute basis. Here are some use cases for this improvement:
Laravel 11 builds upon the existing rate-limiting syntax of the `RateLimiter` facade. You can define per-second limits like so:
RateLimiter::for('login', function (Request $request) {
return Limit::perSecond(5)->by($request->user()?->id ?: $request->ip());
});
Laravel 11’s per-second rate limiting grants you finer control over request frequencies, significantly improving protection against traffic surges, and security attacks (particularly against login features), and optimizes resource management for a more balanced user experience.
Laravel Reverb is a new addition to the Laravel ecosystem, package of bundles is the first-party tool for real-time functionality implementation in your web applications using WebSockets. WebSockets are a type of connection which are persistent and bi-directional and support an interaction between a web application’s front-end and the server. This allows for instantaneous data updates without constant polling – perfect for features like:
Laravel Reverb is a preferable improvement due to:
Historically, building real-time features in Laravel involved third-party WebSocket solutions like Pusher or Socket.io. Laravel Reverb offers a streamlined, in-house solution with the backing and support of the Laravel team.
Laravel 11 goes beyond the major features, delivering a host of smaller yet impactful enhancements:
Read more: Laravel vs Spring Boot – Which framework should be chosen to build a web application?

Choosing to upgrade to Laravel 11 unlocks several advantages for both new and existing Laravel projects:
While Laravel strives for smooth upgrades, it’s essential to follow the official upgrade guide and test thoroughly before implementing any changes in a production environment. You can follow this general guide for upgrading:
Upgrading significant applications may require more time and a phased approach. Consider creating a detailed plan and testing extensively in a staging environment. If you’re upgrading from a much older version of Laravel, you might need to follow multiple upgrade guides to move incrementally.
Before getting started, let’s make sure you have the essentials:
Laravel offers two main ways to install a fresh Laravel 11 project:
composer global require laravel/installer
laravel new my-project
composer create-project --prefer-dist laravel/laravel my-project
php artisan serve
While Laravel provides a fantastic foundation, maximizing its potential and tackling complex project requirements often demands specialized expertise. That’s where Mageplaza’s dedicated Laravel developers step in. Our team boasts extensive experience and a deep understanding of Laravel’s intricacies.
Why Mageplaza’s Laravel Experts?
Here’s how we can help:
Transform your project vision into reality with Mageplaza’s Laravel development services.
CONTACT OUR LARAVEL EXPERTS TODAY
Through this blog, we’ve examined the growth of Laravel and found out the revolutionary improvements and upgrades brought into Laravel 11. Ranging from template-based application skeleton to full-fledge advancements such as second-rate performance limits or even Laravel Reverb, the later version only enhances the assertion of Laravel’s position as a highly efficient and innovative framework to work with.
Laravel 11 is an upgrade that you should do to the project’s future. By the same token, it will automate your growth pathways and open up new windows of opportunity, which will enable the long-term sustainability of your app. As long as we extend the support for security patches, bug fixing, and availability of regular web development tools, Laravel 11 keeps your projects capable of adapting well to new trends.