Route middleware unravelled in Laravel 5.1
Two route-based middleware classes are present in Laravel 5 in app/Http/Middleware/. One of these classes is named Authenticate. It provides basic authentication and uses a contract.
In reference to routes, the middleware sits between the route and the controller:
Link:
This post is submitted by our members. Submit a new post.
Tags: Tutorials Laravel 5 Laravel 5.1