PHPackages                             fefas/assert-psr-response - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. fefas/assert-psr-response

Abandoned → [bauhaus/assert-psr-response](/?search=bauhaus%2Fassert-psr-response)Library[Testing &amp; Quality](/categories/testing)

fefas/assert-psr-response
=========================

PHP package with class to assert PSR responses

v1.0.0(5y ago)0353[1 issues](https://github.com/bauhausphp/assert-psr-response/issues)[2 PRs](https://github.com/bauhausphp/assert-psr-response/pulls)MITPHPPHP &gt;=7.4

Since Jan 6Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bauhausphp/assert-psr-response)[ Packagist](https://packagist.org/packages/fefas/assert-psr-response)[ RSS](/packages/fefas-assert-psr-response/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)Dependencies (4)Versions (8)Used By (0)

[![Build Status](https://camo.githubusercontent.com/eebc74f0dcaae827a2c7cc1c99934dd33f8beb4510476dcdd97a6069b968350d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f626175686175737068702f6173736572742d7073722d726573706f6e73652f4275696c643f7374796c653d666c61742d737175617265)](https://github.com/bauhausphp/assert-psr-response/actions?query=workflow%3ABuild)[![Coverage](https://camo.githubusercontent.com/cce68a362d7be8c202c17c46e11fac4a5a2e88dfd57e0901f2d245a5a79b7e14/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f626175686175737068702f6173736572742d7073722d726573706f6e73653f7374796c653d666c61742d737175617265)](https://codecov.io/gh/bauhausphp/assert-psr-response)

[![Stable Version](https://camo.githubusercontent.com/5ce40ee86f412939759d69d7d5546f838fb94c7f678919789bcd8a909fe34dcf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626175686175732f6173736572742d7073722d726573706f6e73653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bauhaus/assert-psr-response)[![Downloads](https://camo.githubusercontent.com/99cc8d50942c5eeafc015f57929c1f6b9526f7b3390d9241b45e3845e4f55dc4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f626175686175732f6173736572742d7073722d726573706f6e73653f7374796c653d666c61742d737175617265)](https://packagist.org/packages/bauhaus/assert-psr-response)[![PHP Version](https://camo.githubusercontent.com/5ffa07ca13798d6bb446acf9d41fa1a54cc409f427f24a4bb819589af9ec8183/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f626175686175732f6173736572742d7073722d726573706f6e73653f7374796c653d666c61742d737175617265)](composer.json)[![License](https://camo.githubusercontent.com/51dfca9ed6475afa6b6a1096b294ff3a2bafb96d4fe3d49e691ddac8c8b74e1f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f626175686175737068702f6173736572742d7073722d726573706f6e73653f7374796c653d666c61742d737175617265)](LICENSE)

Assert PSR Response
===================

[](#assert-psr-response)

This composer package aims to provide an easy way to assert [PSR-7](http://www.php-fig.org/psr/psr-7/) responses.

Motivation
----------

[](#motivation)

I created this package because my constant need of asserting only certain values of PSR responses during acceptance tests.

Installation
------------

[](#installation)

Install it using [Composer](https://getcomposer.org/):

```
$ composer require bauhaus/assert-psr-response
```

Usage
-----

[](#usage)

```
