What to expect in Laravel 10
Laravel version 10 will be released on February 7th, 2023, bringing several new features and improvements to the popular PHP framework. Here are some of the things you can expect in Laravel 10:
- Native type declarations, also known as type hints, in Laravel 10 skeleton.
- Invokable validation rules, a feature that allows you to create custom validation rules as simple, standalone functions, are the default.
- Laravel 10 will no longer support PHP versions lower than 8.0. The minimum required version of PHP for Laravel 10 will be 8.1. Laravel 10 may utilize features introduced in PHP 8.1, such as read-only properties.
- It is expected that Laravel 10 will remove methods marked as deprecated in Laravel 9.
- Remove various deprecations Pull Request #41136
- Remove deprecated dates property in Pull Request #42587
- Remove
handleDeprecation
method in Pull Request #42590 - Remove deprecated
assertTimesSent
method Pull Request #42592 - Remove deprecated
ScheduleListCommand
's$defaultName
property 419471e - Remove deprecated
Route::home
method Pull Request #42614 - Remove deprecated
dispatchNow
functionality Pull Request #42591
Overall, Laravel 10 brings several new features and improvements that can help you build better, more efficient applications. So, if you’re a Laravel developer, upgrade to Laravel 10 and take advantage of these new features.
If you are interested in staying up-to-date with the latest developments in Laravel, follow the Laravel blog, join the Laravel community forums, or subscribe to the Laravel newsletter to receive updates on new releases and other news.