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:

controller

 

Recommended :  Directory structure of Symfony2

About the author

Deven Rathore

I'm Deven Rathore, a multidisciplinary & self-taught designer with 3 years of experience. I'm passionate about technology, music, coffee, traveling and everything visually stimulating. Constantly learning and experiencing new things.

Pin It on Pinterest

Shares