Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zendframework/zend-httphandlerrunner
Execute PSR-15 RequestHandlerInterface instances and emit responses they generate.
https://github.com/zendframework/zend-httphandlerrunner
php php71 psr-15 psr-7 zend-framework
Last synced: 10 days ago
JSON representation
Execute PSR-15 RequestHandlerInterface instances and emit responses they generate.
- Host: GitHub
- URL: https://github.com/zendframework/zend-httphandlerrunner
- Owner: zendframework
- License: bsd-3-clause
- Archived: true
- Created: 2018-02-05T14:23:04.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-01-28T19:00:52.000Z (about 5 years ago)
- Last Synced: 2024-05-17T03:43:36.168Z (9 months ago)
- Topics: php, php71, psr-15, psr-7, zend-framework
- Language: PHP
- Homepage:
- Size: 1.27 MB
- Stars: 46
- Watchers: 16
- Forks: 14
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: docs/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# zend-httphandlerrunner
> ## Repository abandoned 2019-12-31
>
> This repository has moved to [laminas/laminas-httphandlerrunner](https://github.com/laminas/laminas-httphandlerrunner).[![Build Status](https://secure.travis-ci.org/zendframework/zend-httphandlerrunner.svg?branch=master)](https://secure.travis-ci.org/zendframework/zend-httphandlerrunner)
[![Coverage Status](https://coveralls.io/repos/github/zendframework/zend-httphandlerrunner/badge.svg?branch=master)](https://coveralls.io/github/zendframework/zend-httphandlerrunner?branch=master)This library provides utilities for:
- Emitting [PSR-7](https://www.php-fig.org/psr/psr-7) responses.
- Running [PSR-15](https://www.php-fig.org/psr/psr-15) server request handlers,
which involves marshaling a PSR-7 `ServerRequestInterface`, handling
exceptions due to request creation, and emitting the response returned by the
composed request handler.The `RequestHandlerRunner` will be used in the bootstrap of your application to
fire off the `RequestHandlerInterface` representing your application.## Installation
Run the following to install this library:
```bash
$ composer require zendframework/zend-httphandlerrunner
```## Documentation
Documentation is [in the doc tree](docs/book/), and can be compiled using [mkdocs](http://www.mkdocs.org):
```bash
$ mkdocs build
```You may also [browse the documentation online](https://docs.zendframework.com/zend-httphandlerrunner/).