gallna/slim3-middleware

There is no license information available for the latest version (v1.0.3) of this package.

A set of Slim3 Framework middleware

v1.0.3 2016-09-15 23:42 UTC

README

A set of middleware for Slim 3 Framework

GuzzleMiddleware

Catch uncaught http exceptions generated by Guzzle 6 and set appropriate response code

$app = new Slim\App();
$app->add(new Kemer\Slim3\Middleware\GuzzleMiddleware());

PhpHttpMiddleware

Catch uncaught http exceptions generated by HTTPlug and set appropriate response code

HTTPlug is used among other thing by Jane Open Api package - to generate API clients from Swagger specification.

$app = new Slim\App();
$app->add(new Kemer\Slim3\Middleware\PhpHttpMiddleware());