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: 2024-11-10 05:19:28 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');