/zend-httphandlerrunner

Execute PSR-15 RequestHandlerInterface instances and emit responses they generate.

Primary LanguagePHPBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

zend-httphandlerrunner

Build Status Coverage Status

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.