There are lots of times we need to run a bit of code before or after a request is made to a web server. For example, we might need to authenticate a certain route, or we might want to log requests. That's where Laravel middleware comes in!
In this Coffee Break Course, Envato Tuts+ instructor Matthew Machuga will show you how middleware works, how it flows through an application, and how to create middleware of your own.
If you haven't used Laravel before, why not check out our full course and learn Laravel 5: Get Started With Laravel 5. If you've mastered the fundamentals of Laravel, build on your experience with these courses: