DEV Community

Sospeter Mong'are
Sospeter Mong'are

Posted on • Updated on

Laravel 11 Changes

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 Http Kernel

No $casts:
The $casts attribute in models is replaced by the cast() function.

No Cast

No Console Kernel:
Console commands are now placed in routes/console.php.

Console

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.

Top comments (0)