php-extended / php-http-message-factory-psr17
An implementation of the psr-17 based on the php-http-message-psr7 library
6.0.6
2024-03-25 12:52 UTC
Requires
Requires (Dev)
Provides
This package is auto-updated.
Last update: 2024-03-25 11:53:13 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.phar
from their website. - Then run the following command to install this library as dependency :
php composer.phar php-extended/php-http-message-factory-psr17 ^6
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).