wherethekernelat.

Kernel Quickstart


Introduction

The Laravel kernel was introduced in Laravel 5.0. It was a large part of the framework up until Laravel 10.

In the HTTP kernel you'd configure middleware, register middleware aliases and configure middleware groups. The console kernel was responsible for registering commands and scheduling tasks.

The slim skeleton

In Laravel 11 a slim skeleton was introduced. This was done to reduce the amount of files for a fresh Laravel installation.

The slim skeleton removed the kernel and the console kernel. Instead, a lot of the configuration is now done in the bootstrap/app.php file.

Middleware

API routes

Console kernel