middlewares/request-handler
PSR-15/PSR-7 request handler middleware for PHP. Build a flexible pipeline that routes an incoming ServerRequest to your handler stack, with clean delegation and composable middlewares—ideal for frameworks or custom apps needing standard request processing.
phpstan as a dev dependency to detect bugscontinueOnEmpty() to continue with the next middleware if the request attribute is empty or does not exists.Closure.Closure handlerspsr/http-server-middlewareMiddlewareInterface.RequestHandlerInterface.Middlewares\Utils\CallableResolverInterface, now only Psr\Container\ContainerInterface is accepted.arguments() optioncallable handlers. They must implement RequestHandlerInterface or MiddlewareInterface.http-interop/http-middleware with http-interop/http-server-middleware..dist suffix to phpcs.xml and phpunit.xml fileshttp-interop/http-middleware#0.5attribute() to handlerAttribute()First version
How can I help you explore Laravel packages today?