php-extended/php-http-message-psr7

Another implementation of the psr7 : php-fig/http-message interface library


README

Another implementation of the psr7 : php-fig/http-message interface 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-psr7 ^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\MessageInterfacePhpExtended\HttpMessage\Message
Psr\Http\Message\RequestInterfacePhpExtended\HttpMessage\Request
Psr\Http\Message\ResponseInterfacePhpExtended\HttpMessage\Response
Psr\Http\Message\ServerRequestInterfacePhpExtended\HttpMessage\ServerRequest
Psr\Http\Message\StreamInterfacePhpExtended\HttpMessage\StringStream
PhpExtended\HttpMessage\FileStream
Psr\Http\Message\UploadedFileInterfacePhpExtended\HttpMessage\UploadedFile
Psr\Http\Message\UriInterfacePhpExtended\HttpMessage\Uri

License

MIT (See license file).