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. Download composer.phar from their website. Then add to your composer.json :

	"require": {
		...
		"php-extended/php-http-message-psr7": "^3",
		...
	}

Then run php composer.phar update to install this library. The autoloading of all classes of this library is made through composer's autoloader.

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).