What is Kernel in laravel?

By | June 7, 2018

Click here for more interview questions
Two types of kernel available in laravel,

Http kernel- app/http/kernel.php
Console kernel- console/kernel.php

Kernel defines the list of midddleware and middleware will handle session,aunthentication,verifycsrftoken etc.
Kernel extends base class- Illuminate\Foundation\Http\Kernel it defines bootstrappers .Thesse bootstrapers configure error handling,logging,detecting application environment
Click here for more interview questions