kfreiman/psr-15-validation

A validation repository for PSR-15 middleware packages

v1.7 2017-11-23 11:01 UTC

README

Latest Version on Packagist Software License Build Status Quality Score Total Downloads SensioLabs Insight

Description of the middleware

Requirements

Installation

This package is installable and autoloadable via Composer as kfreiman/psr-15-validation.

composer require kfreiman/psr-15-validation

For compatible with http-interop/http-middleware version less than 0.5 use versions tagged in 0.x

composer require kfreiman/psr-15-validation "^0.1"

Example

$dispatcher = new Dispatcher([
	(new Middlewares\Validation())
]);

$response = $dispatcher->dispatch(new ServerRequest());

Options

option1()

Option description

option2($arg)

Option description

Please see CHANGELOG for more information about recent changes and CONTRIBUTING for contributing details.

The MIT License (MIT). Please see LICENSE for more information.