php-http/message-factory
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|
php-http/message-factory is a PHP package that serves as a factory for PSR-7 HTTP Messages. As a useful tool for any PHP developer, it assists with the creation of these standard messages often employed in HTTP client implementations. However, it is important to note that with the introduction of the PSR-17 factories standard, the PHP-HTTP factories provided by this package have been rendered obsolete. It's advised for all related implementations to transition to PSR-17, though php-http/message-factory will remain available in order to maintain compatibility with existing projects.
Using php-http/message-factory involves just a few steps. Firstly, the package must be installed via Composer using the following command in the terminal:
$ composer require php-http/message-factory
However, as mentioned before, due to the obsoletion of PHP-HTTP factories following the introduction of PSR-17, it is recommended for developers to start using PSR-17 factories instead.
The official documentation for php-http/message-factory can be found at the following URL: http://docs.php-http.org/en/latest/message/message-factory.html . This resource houses all the requisite information concerning the use and the functionalities of the package, aiding developers in their interaction with it.