zendframework / zend-httphandlerrunner
Execute PSR-15 RequestHandlerInterface instances and emit responses they generate.
Installs: 1 486 543
Dependents: 47
Suggesters: 3
Security: 0
Stars: 49
Watchers: 19
Forks: 14
Open Issues: 2
Requires
- php: ^7.1
- psr/http-message: ^1.0
- psr/http-message-implementation: ^1.0
- psr/http-server-handler: ^1.0
Requires (Dev)
- phpunit/phpunit: ^7.0.2
- zendframework/zend-coding-standard: ~1.0.0
- zendframework/zend-diactoros: ^1.7 || ^2.1.1
This package is auto-updated.
Last update: 2020-01-28 19:00:56 UTC
README
Repository abandoned 2019-12-31
This repository has moved to laminas/laminas-httphandlerrunner.
This library provides utilities for:
- Emitting PSR-7 responses.
- Running 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:
$ composer require zendframework/zend-httphandlerrunner
Documentation
Documentation is in the doc tree, and can be compiled using mkdocs:
$ mkdocs build
You may also browse the documentation online.