Gurmandeep SinghGurmandeep Singh
← All tags

Laravel

4 posts tagged “Laravel”.

Laravel HasMiddleware Interface
2 min read

Laravel HasMiddleware Interface

Laravel makes it easy to assign middleware directly to your Controller classes. To do this, your controller should implement the HasMiddleware interface. Once you implement HasMiddleware, your controller needs to define …