loophp/psr17
loophp/psr17 provides a PSR-17 HTTP message factory implementation for PHP, helping you create PSR-7 requests, responses, streams, URIs, and uploaded files in a standards-compliant way. Suitable for libraries and middleware needing PSR factories.
RequestFactory, StreamFactory, ResponseFactory, UriFactory), ensuring consistency across PHP-based HTTP tooling (e.g., HTTP clients, middleware, or frameworks).HttpFoundation, Guzzle’s PSR-7 wrapper) and switching adds friction.nyholm/psr7 or symfony/http-foundation instead.For Executives: "This package standardizes HTTP message handling across our PHP services using PSR-17, reducing technical debt and enabling reusable, framework-agnostic components. With PHP 8.1+ support, it aligns with modern PHP ecosystems, offering a lightweight (~1.4kB), MIT-licensed tool for APIs, middleware, or testing. It’s a future-proof foundation for HTTP tooling—consistent, portable, and easy to integrate or replace as needs evolve. Note: Requires PHP 8.1+, so we’ll need to confirm infrastructure compatibility."
For Engineering: *"loophp/psr17 (v1.0.6) now requires PHP 8.1+, giving us:
nyholm/psr7 for that).
Ideal for: New projects on PHP 8.1+, microservices, or libraries needing lightweight PSR-17 compliance."*How can I help you explore Laravel packages today?