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
Requires
- php: >=5.5.0
- graylog2/gelf-php: ^1.5
- monolog/monolog: ~1.2
- pimple/pimple: ^3.0
- psr/http-message: ^1.0
This package is not auto-updated.
Last update: 2025-01-04 20:47:22 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());