php-extended / php-http-message-factory-psr17
An implementation of the psr-17 based on the php-http-message-psr7 library
Package info
gitlab.com/php-extended/php-http-message-factory-psr17
pkg:composer/php-extended/php-http-message-factory-psr17
9.0.7
2026-05-20 01:18 UTC
Requires
- php: >=8.2
- php-extended/php-http-message-psr7: ^9
- php-extended/php-uri-parser-object: ^9
- psr/http-factory: ^1
Requires (Dev)
Provides
This package is auto-updated.
Last update: 2026-06-19 23:29:09 UTC
README
An implementation of the psr-17 based on the php-http-message-psr7 library.
Installation
The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.
- Download
composer.pharfrom their website. - Then run the following command to install this library as dependency :
php composer.phar php-extended/php-http-message-factory-psr17 ^9
Basic Usage
This library implements the rules of the psr7, which are to be found here.
The interfaces and their implementations are as follows :
| Interface | Implementation |
|---|---|
Psr\Http\Message\RequestFactoryInterface | PhpExtended\HttpMessage\RequestFactory |
Psr\Http\Message\ResponseFactoryInterface | PhpExtended\HttpMessage\ResponseFactory |
Psr\Http\Message\ServerRequestFactoryInterface | PhpExtended\HttpMessage\ServerRequestFactory |
Psr\Http\Message\StreamFactoryInterface | PhpExtended\HttpMessage\StreamFactory |
Psr\Http\Message\UploadedFileFactoryInterface | PhpExtended\HttpMessage\UploadedFileFactory |
Psr\Http\Message\UriFactoryInterface | PhpExtended\HttpMessage\UriFactory |
License
MIT (See license file).