/circuit-middleware-whoops

Whoops Middleware for Circuit

Primary LanguagePHPMIT LicenseMIT

Whoops Middleware for Circuit

Latest Stable Version

Middleware to add Whoops error handling to a site using Circuit. (Glibly stolen and altered from https://github.com/franzliedke/whoops-middleware)

Basic Usage

$router->registerMiddleware('whoops', new \CircuitMiddleware\Whoops\Whoops);
$router->addPrerouteMiddleware('whoops');