/data-response

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Data response


The package allows responding with data that is automatically converted into PSR-7 response.

Latest Stable Version Total Downloads Build status Scrutinizer Code Quality Code Coverage Mutation testing badge static analysis

General usage

Unit testing

The package is tested with PHPUnit. To run tests:

./vendor/bin/phpunit

Mutation testing

The package tests are checked with Infection mutation framework. To run it:

./vendor/bin/infection

Static analysis

The code is statically analyzed with Phan. To run static analysis:

./vendor/bin/phan