laminas/laminas-httphandlerrunner
Executes PSR-15 HTTP request handlers by bridging PSR-7 requests/responses with common PHP runtimes. Provides runners for SAPI and other environments, simplifying bootstrap, emitting responses, and integrating middleware/handler apps in Laminas or any PSR stack.
RequestHandlerInterface implementations), now with optimized dependencies for PHP 8.5.Adopt if:
RequestHandlerInterface instances) and future-proofing for PHP 8.5/9+.Look elsewhere if:
HttpKernelInterface) without middleware support.For Executives: "This package lets us decompose our API into reusable, testable components—like LEGO blocks for request handling—while ensuring full compatibility with PHP 8.5, the next major release. It’s the PHP standard (PSR-15) for running middleware, meaning we can swap out services (e.g., auth, logging) without rewriting the pipeline. The Laminas-backed, BSD-licensed solution reduces technical debt and aligns with PHP’s roadmap, with no hidden costs or lock-in. Upgrading now future-proofs our stack for years to come."
For Engineering: *"Laminas HttpHandlerRunner is now officially PHP 8.5-compatible, making it the safest choice for PSR-15 middleware execution. Key wins:
relay, or custom) and is optimized for PHP 8.5.How can I help you explore Laravel packages today?