Now, let’s explore the list of features and improvements you should expect in the next major release of Laravel.
Minimum PHP Requirement
First and foremost, Laravel 9 requires the latest version of PHP 8 and PHPUnit 8 for testing. This is because Laravel 9 will be using the latest Symfony v6.0, which also requires PHP 8.
PHP 8 comes with significant improvements and features, from JIT compilation to constructor property promotion. You can explore the different PHP version benchmarks and learn how to upgrade to the latest PHP 8 version here on our blog.
Anonymous stub migration
Laravel sets anonymous stub migration as the default taiwan whatsapp number data behavior when running the popular migration command:
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
New query builder interface
With the new Laravel 9, type hinting is very reliable for refactoring, static analysis, and code completion in their IDEs . This is due to the lack of shared interface or inheritance between Query\Builder, Eloquent\Builder, and Eloquent\Relation. However, with Laravel 9, developers can now enjoy the new query builder interface for type hinting, refactoring, and static analysis.
<?php
New features in Laravel 9
-
- Posts: 160
- Joined: Mon Dec 23, 2024 3:46 am