This PHP 7.1 library provides a collection of PSR-7 compatible responses based on the Guzzle implementation.
The collection includes:
EmptyResponseErrorResponseFileResponseForbiddenResponseHtmlResponseHttpProxyResponseJsonResponseLocalFileResponseNotFoundResponseNotModifiedResponseRedirectResponseStreamResponseTextResponseUnauthorizedResponseXmlResponse
This library is available through Packagist and can be installed using Composer:
composer require codeinc/psr7-responsesThe library is published under the MIT license (see LICENSE file).