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.


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.

