Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.36 KB

README.md

File metadata and controls

31 lines (19 loc) · 1.36 KB

PSR-7 Assertions

Build Status Coverage Status

Test if your HTTP messages are compliant with the PSR-7 (HTTP message interfaces) specification.

Installation

Use Composer to install this library:

composer require maks3w/psr7-assertions

Usage in PHPUnit

Psr7Assertions provides following traits with helper functions for asserting interface constraints:

See examples at example/PhpUnit.

License

Code licensed under BSD 2 clauses terms & conditions.

See LICENSE.txt for more information.