psr7-http-messages
Installation
SKILL.md
PSR-7 HTTP Messages
When to use
- The user needs to represent an HTTP request or response with interfaces that work across frameworks and libraries.
- The user is writing middleware that receives a request and returns a response, or that decorates either.
- The user needs to read or write an HTTP message body represented as a PSR-7 StreamInterface.
When NOT to use
- Do not force PSR-7 into an app that only ever uses one framework's native request and response objects and needs no interop.
- Do not wrap purely internal domain data in PSR-7 messages just to move it between in-process services.