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

2.1.0 2021-09-22 09:27 UTC


Build 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.


Run the following to install this library:

$ composer require laminas/laminas-httphandlerrunner


Documentation is in the doc tree, and can be compiled using mkdocs:

$ mkdocs build

You may also browse the documentation online.