The official version of Laravel 9 has been released. New features include: using PHP v8.0, controller routing group, new default Ignition error page, Laravel Scout database engine, integrated Symfony Mailer, Flysystem 3.x, improved Eloquent access editor/modifier, and more.
Related recommendations: "Quickly explain two methods of installing Laravel 9"
New homepage design
The release announcement shows that Laravel 9 is the next long-term support version (LTS) and will be received until February 2024 Bug fixes, and security fixes until February 2025. Additionally, starting with Laravel 9, Laravel's release cycle has changed: a new major version is released approximately every twelve months, instead of the previous six months. Here’s why:
Laravel uses a number of community-driven toolkits as well as nine Symfony components to implement many features within the framework. Symfony 6.0 will be released in November. For this reason, we have chosen to delay the release of Laravel 9.0 until 2022.
By delaying the release, we can upgrade our underlying Symfony components to Symfony 6.0 without being forced to wait until September 2022 to perform this upgrade. Additionally, this better prepares us for future releases, as our annual releases always occur two months after Symfony launches.
Main new features of Laravel 9:
The minimum requirement for the PHP version used is PHP 8
Introducing a new design for routes:list
Added --coverage test option, which can display coverage directly in the terminal
Use Anonymous Stub Migrations by default
New query construction interface
Support PHP 8 characters String function
Migrate mail functionality from SwiftMailer to Symfony Mailer
Flysystem 3.x
Laravel 9 Release NotesandUpgrade Guide. Additionally, if you want a simple update method you can refer toLaravel Shift. Thelaravel video tutorial
column of