Zend Diactoros wrapper class to emit http response as a middleware.
See installation docs for instructions on installing and using this middleware.
use \BitFrame\Message\DiactorosResponseEmitter;
require 'vendor/autoload.php';
$app = new \BitFrame\Application;
$app->run([
/* The response emitter must be the first middleware so that it
* emits the response from all the middleware that follow. */
DiactorosResponseEmitter::class
]);
To execute the test suite, you will need PHPUnit.
- File issues at https://github.com/designcise/bitframe-diactoros/issues
- Issue patches to https://github.com/designcise/bitframe-diactoros/pulls
Documentation is available at:
Please see License File for licensing information.