php-extended / php-http-message-psr7
Another implementation of the psr7 : php-fig/http-message interface library
Package info
gitlab.com/php-extended/php-http-message-psr7
pkg:composer/php-extended/php-http-message-psr7
9.0.7
2026-05-20 01:09 UTC
Requires
- php: >=8.2
- php-extended/php-domain-object: ^9
- php-extended/polyfill-str-levenshtein: ^1
- psr/http-message: ^2
Requires (Dev)
Provides
This package is auto-updated.
Last update: 2026-06-19 23:20:39 UTC
README
Another implementation of the psr7 : php-fig/http-message interface 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-psr7 ^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\MessageInterface | PhpExtended\HttpMessage\Message |
Psr\Http\Message\RequestInterface | PhpExtended\HttpMessage\Request |
Psr\Http\Message\ResponseInterface | PhpExtended\HttpMessage\Response |
Psr\Http\Message\ServerRequestInterface | PhpExtended\HttpMessage\ServerRequest |
Psr\Http\Message\StreamInterface | PhpExtended\HttpMessage\StringStream |
PhpExtended\HttpMessage\FileStream | |
Psr\Http\Message\UploadedFileInterface | PhpExtended\HttpMessage\UploadedFile |
Psr\Http\Message\UriInterface | PhpExtended\HttpMessage\Uri |
License
MIT (See license file).