psr/http-server-middleware
PSR-15 HTTP server middleware interfaces for PHP. Provides the MiddlewareInterface specification used by request handlers and middleware stacks; no implementation included. Install via psr/http-server-middleware and use with compatible frameworks or libraries.
Architecture fit is poor as Laravel's native middleware system (using handle(Request $request, Closure $next)) fundamentally differs from PSR-15's process(ServerRequestInterface $request, RequestHandlerInterface $handler) pattern. The package provides only an interface with no Laravel-specific implementation, creating structural misalignment. Integration feasibility is low without third-party bridges (e.g., laravel-psr15-bridge), which are unofficial and not maintained by Laravel core. Technical risks include potential breaking changes in Laravel's HTTP stack, performance overhead from adapter layers, and compatibility issues with future Laravel versions. Key questions: Does the project require integration with external PSR-15 middleware? Is there a proven, maintained bridge for Laravel? What is the business case for adopting PSR-15 over Laravel's native middleware?
Stack fit is minimal—Laravel does not natively support PSR-15 middleware
How can I help you explore Laravel packages today?