Share this:

Laravel is a free and open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller architectural pattern and based on Symfony.

Laravel 10 is the upcoming latest version of the Laravel framework. It’s a major release that coming with a lot of new features and improvements.

Laravel 10 Release Date

Laravel Website has announce the new version of laravel v10 is going to be release on February 7th, 2023.

What laravel website said about the release date

“ Laravel v10 is the next major version of Laravel, planned for release on February 7th, 2023. ” — Laravel

Laravel Also added,

“ Before Laravel 9, major framework versions were released twice a year or roughly every six months. Starting with Laravel 9, the core team went to an annual schedule, shipping Laravel 9 in February of 2022 (instead of the originally planned September 2021) ” — Laravel

What New?

Laravel 10 drops support for PHP 8.0

Laravel going to drops support for PHP <= v8.0 in Laravel 10 update. The minimum required version is PHP ^8.1.

Native type declarations in Laravel 10 skeleton

Laravel 10 will use native PHP type declarations across any generated code that can exist in userland. Read more about the Native type declarations in Laravel 10 skeleton here.

Invokable Validation rules are the default

Starting in Laravel 10, invokable validation rules are now the default. When you create a new validation rule via artisan, this is what you can expect:

# Laravel 9 creates a rule class that implements the
# Illuminate\Contracts\Validation\Rule interface
artisan make:rule Uppercase

# Laravel 9 flag to create an invokable and implicit rule
artisan make:rule Uppercase --invokable
artisan make:rule Uppercase --invokable --implicit

# Laravel 10 creates an invokable rule by default
artisan make:rule Uppercase

# Laravel 10 implicit rule
artisan make:rule Uppercase --implicit

Deprecations from Laravel 9

Here are some deprecations found in the comparison of the Laravel framework’s master branch to the 9.x branch at the time of writing:

Check out the official document for more information about Laravel 10 Updates.

Share this:

Categorized in: