Published On Mar. 4th 2016

Laravel 5.2 From Scratch: Understanding Middleware

Episode 14 Run Time 13:16

Download
Think of middleware as layers of an onion. To get through to the core of your application, a request must first pass through these various layers. Perhaps one layer determines if the application is in maintenance mode. Another layer, or middleware, might verify that the user is signed in as an administrator.