Gurmandeep SinghGurmandeep Singh
← All tags

Web Development

2 posts tagged “Web Development”.

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 …