Back to Developer Roadmap

Global vs. Route Middleware

src/data/roadmaps/laravel/content/[email protected]

4.0867 B
Original Source

Global vs. Route Middleware

Global middleware runs on every HTTP request entering your application. Route middleware, on the other hand, is only applied to specific routes or groups of routes that you define. This allows for more granular control over which middleware is executed for different parts of your application.

Visit the following resources to learn more: