Home > headlines > body text

Laravel 9 is officially released, a list of new features!

藏色散人
Release: 2022-02-10 14:43:24
forward
5394 people have browsed it

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"

Laravel 9 is officially released, a list of new features!

New homepage design

Laravel 9 is officially released, a list of new features!

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.

Laravel 9 is officially released, a list of new features!

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

  • ## Optimizing Eloquent accessors/modifiers

  • Implicit route binding using Enums (PHP 8.1)

  • Controller routing group

  • Enum Eloquent Property Conversion

  • Forced Range Binding

  • Laravel Breeze API & Next.js

  • Laravel Scout database engine

  • Full text index/Where clause

  • Rendering inline Blade template

  • Soketi Echo Server

  • Optional Bootstrap 5 paging view

  • Optimize Ignition exception page

  • New str() and to_route() helper functions

These are just some of the new features in Laravel 9, to see the full list, please Check out the

Laravel 9 Release Notes and Upgrade Guide. Additionally, if you want a simple update method you can refer to Laravel Shift. The laravel video tutorial

column of

php Chinese website contains the latest and hottest laravel technology teaching videos and documents, go and have a look!

Related labels:
source:toutiao.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template