brokencube/circuit-middleware-whoops

Whoops Middleware for Circuit

1.0.2 2018-01-19 10:40 UTC

This package is not auto-updated.

Last update: 2022-08-06 17:24:12 UTC


README

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');