php-http/message-factory
Legacy PSR-7 HTTP message factory for PHP. Supports creating PSR-7 compliant HTTP messages (Request, Response, Stream, etc.) with ease. Maintains backward compatibility for existing codebases while encouraging migration to PSR-17 factories (now standard in major clients like Guzzle, Symfony HTTP Cli...
psr/http-message v2 in addition to v1The PHP-HTTP factories have become obsolete with the PSR-17 factories standard. All major HTTP client implementors provide PSR-17 factories.
This package will remain available for the time being to not break legacy code, but we encourage everybody to move to PSR-17.
Added support for Puli bindings.
Message Factory interfaces are quite stable for a while. This is the first and the last planed RC version.
Removed Client Context Factory and Factory Awares/Templates.
Reordered the parameters when creating a message to have the protocol last,as its the least likely to need to be changed.
This package provides the missing construction logic for PSR-7 HTTP Messages.
How can I help you explore Laravel packages today?