An open API service indexing awesome lists of open source software.

https://github.com/wecodein/response-sender-middleware

PSR-15 compliant implementation of middleware for converting PSR-7 Response to HTTP output.
https://github.com/wecodein/response-sender-middleware

http-middleware middleware php7 psr-15 psr-17

Last synced: about 2 months ago
JSON representation

PSR-15 compliant implementation of middleware for converting PSR-7 Response to HTTP output.

Awesome Lists containing this project

README

          

# response-sender-middleware

[![Build Status][ico-build]][link-build]
[![Code Quality][ico-code-quality]][link-code-quality]
[![Code Coverage][ico-code-coverage]][link-code-coverage]
[![Latest Version][ico-version]][link-packagist]
[![PDS Skeleton][ico-pds]][link-pds]

PSR-15 compliant implementation of middleware for converting PSR-7 Response to HTTP output.

## Installation

The preferred method of installation is via [Composer](http://getcomposer.org/). Run the following command to install the latest version of a package and add it to your project's `composer.json`:

```bash
composer require wecodein/response-sender-middleware
```

## Usage

``` php
$middleware = new ResponseSenderMiddleware();
$middleware->process($serverRequest, $requestHandler);
```

## Credits

- [Dusan Vejin][link-author]
- [All Contributors][link-contributors]

## License

Released under MIT License - see the [License File](LICENSE) for details.

[ico-version]: https://img.shields.io/packagist/v/wecodein/response-sender-middleware.svg
[ico-build]: https://travis-ci.org/wecodein/response-sender-middleware.svg?branch=master
[ico-code-coverage]: https://img.shields.io/scrutinizer/coverage/g/wecodein/response-sender-middleware.svg
[ico-code-quality]: https://img.shields.io/scrutinizer/g/wecodein/response-sender-middleware.svg
[ico-pds]: https://img.shields.io/badge/pds-skeleton-blue.svg

[link-packagist]: https://packagist.org/packages/wecodein/response-sender-middleware
[link-build]: https://travis-ci.org/wecodein/response-sender-middleware
[link-code-coverage]: https://scrutinizer-ci.com/g/wecodein/response-sender-middleware/code-structure
[link-code-quality]: https://scrutinizer-ci.com/g/wecodein/response-sender-middleware
[link-pds]: https://github.com/php-pds/skeleton
[link-author]: https://github.com/dutekvejin
[link-contributors]: ../../contributors