laravel-10-featured

Concept of Middleware in Laravel – Tutorial 6

Middleware is like a guard in Laravel. It added custom authentication or conditions if used before the controller & it added some data to response if used after the controller.