Laravel 11 introduces a new Middleware configuration class that provides a fluent interface for managing your application's middleware stack. The class includes methods for configuring global middleware, middleware groups, static page middleware, and aliases, among others. It allows for easy customization of middleware
Table of contents
OutlineIntroductionGetting StartedGlobal MiddlewareMiddleware GroupsConvenience Methods for Web and API GroupsMiddleware for Static PagesMiddleware Aliases and PriorityConfiguring Specific MiddlewareAPI-Specific ConfigurationSession AuthenticationConclusionSort: