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...
Factory interfaces for PSR-7 HTTP Message.
The 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.
Via Composer
$ composer require php-http/message-factory
Please see the official documentation.
Please see our contributing guide.
If you discover any security related issues, please contact us at security@php-http.org.
The MIT License (MIT). Please see License File for more information.
How can I help you explore Laravel packages today?