sunrise/http-message
Sunrise HTTP Message provides a PSR-7 HTTP message implementation with PSR-17 factories, aligned with RFC-7230. Use it to create and work with requests, responses, URIs, streams, and uploaded files in a standards-compliant way.
FileStreamInterface and Stream::writeStream() streamline handling of large files (e.g., PDFs, videos) with memory efficiency.JsonRequest, UrlEncodedRequest, and JsonResponse accelerates API development for JSON-heavy applications.Adopt if:
LineStream, writeStream()).Look elsewhere if:
illuminate/http or Symfony’s http-foundation), and this package adds unnecessary abstraction.nyholm/psr7 or guzzlehttp/psr7 for broader ecosystem integration.*"This package standardizes how our PHP applications handle HTTP requests/responses using industry-approved PSR-7/PSR-17 standards. By adopting it, we’ll:
*"This package gives us a batteries-included, PSR-compliant HTTP message layer with:
writeStream()) for large files, reducing memory usage.How can I help you explore Laravel packages today?