Laravel v10 is the next major version of Laravel, and it is scheduled to be released on February 7th, 2023. We wanted to highlight all of the new features and updates that we are aware of in this post.
We encourage you to return in the following weeks as we continue to monitor what’s new in Laravel 10 and will update this post in the build-up to the February release.
Laravel 10 Release Date
Before Laravel 9, major framework releases occurred twice a year, or generally every six months. Starting with Laravel 9, the core team switched to an annual release cycle, releasing Laravel 9 in February 2022 (rather than the initially intended September 2021):
This schedule going forward is one major release annually:
Laravel 9: February 8th, 2022
Laravel 10: February 7th, 2023
Laravel 11: February 6th, 2024
Laravel 9 will continue to get bug fixes until August 8th, 2023 and security fixes until February 6th, 2024.
You can expect Laravel 10 bug fixes until August 6th, 2024 and security fixes until February 4th, 2025.
Laravel 10 features a brand new Bug Hunt contest running now through the official release date.
Here are the rules:
Only PRs sent to the
10.x
branch of thelaravel/framework
repository are eligible.Only “true” bug fixes are accepted. New features, refactoring, or typo fixes will not be counted.
Every bug fix must include a test.
Accepted bug fixes will be labelled, and a random winner will be selected at the end of the contest.
The contest will end as soon as a first stable version of Laravel 10 is released. Any pull requests that are still pending at that time or are sent in after the Laravel 10 release will not be eligible.
What’s New in Laravel 10? Features and Changes
Laravel 10 drops support for PHP 8.0
Laravel 10 requires the minimum version of PHP 8.1. This simply means that new features in Laravel 10 will no longer support the PHP ≤ 8 versions. In this context, the features coming with this league are totally worth it. Here are the features PHP 8.1 will include:
Consistent data classes
Use of nested attributes
Native support to Enums
First-class Callable syntax
No overridden in child classes
Native type declarations in Laravel 10 skeleton
Native Type Declarations Will Be Included in the Application Skeleton Code in Laravel 10. This means that any code written by the framework in userland will include type-hints and return types.
So, how do you install Laravel 10? Just add the --dev
flag when using the Laravel installer:
You can now test the Laravel 10 by using –-dev flag in your fresh project.
Here's a list of all features released till now
Wrap up
These are some features that are anticipated for its latest release. However, there can be much more to come by 7th February 2023. In that instance, if you want to have a go-to partner for your web app designing, you can hire Laravel experts from the best Laravel Development Company.
Ace Infoway has experts that have completed 1000+ projects and can help you to develop a user-friendly web application with resilient features using the latest technology version.