In this video i will talk about middleware in Laravel.


Middleware provide a convenient mechanism for filtering HTTP requests entering your application. For example, Laravel includes a middleware that verifies the user of your application is authenticated. If the user is not authenticated, the middleware will redirect the user to the login screen. In this part i will teach you how to create and use middleware in laravel.