php-extended/php-http-message-factory-psr17

An implementation of the psr-17 based on the php-http-message-psr7 library


README

An implementation of the psr-17 based on the php-http-message-psr7 library.

coverage build status

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 ^7

Basic Usage

This library implements the rules of the psr7, which are to be found here.

The interfaces and their implementations are as follows :

InterfaceImplementation
Psr\Http\Message\RequestFactoryInterfacePhpExtended\HttpMessage\RequestFactory
Psr\Http\Message\ResponseFactoryInterfacePhpExtended\HttpMessage\ResponseFactory
Psr\Http\Message\ServerRequestFactoryInterfacePhpExtended\HttpMessage\ServerRequestFactory
Psr\Http\Message\StreamFactoryInterfacePhpExtended\HttpMessage\StreamFactory
Psr\Http\Message\UploadedFileFactoryInterfacePhpExtended\HttpMessage\UploadedFileFactory
Psr\Http\Message\UriFactoryInterfacePhpExtended\HttpMessage\UriFactory

License

MIT (See license file).