Laravel 11, set for release in Q1 2024, introduces several significant changes:
No Http Kernel:
The Http Kernel file has been removed; necessary configurations now reside in bootstrap/app.php
.
No $casts:
The $casts attribute in models is replaced by the cast() function.
No Console Kernel:
Console commands are now placed in routes/console.php.
Config Changes:
Some config files are hidden but can be revealed with php artisan config:publish
.
API File:
The api.php file is not included by default; use php artisan install:api
to add it.
These changes aim to streamline and modernize the framework.