what is middleware in laravel?
ReportQuestion
2 years ago 753 views
Middleware in laravel works as a platform among the request and the response. It provides the mechanism for investigating the HTTP requests which are entering into your application. For instance, middleware in laravel ensures that the user of your particular application is authenticated. If they found that the user is not authenticated, it will redirect the user to the main login page of the application.
Thread Reply