php-extended/php-http-psr7-suite

This package is abandoned and no longer maintained. The author suggests using the php-extended/php-http-client-suite package instead.

Metapackage that lists all the packages for http psr7 request and response handling


README

Metapackage that lists all the packages for http psr7 request and response handling

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-psr7-suite": "^2"
		...
	}

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

Included packages

Basic Usage

This library provides a configurable factory to be able to build a full featured processor very easily. Just do :


use PhpExtended\HttpProcessor\ProcessorFactory;

$factory = new ProcessorFactory();
$processor = $factory->buildSynchronous();
// $processor instanceof \PhpExtended\HttpProcessor\ProcessorInterface

You may provides to the buildSynchronous() method a configuration object which gathers all the settings for the underlying decorated processor.

License

MIT (See license file).