Skip to content

brokencube/circuit-middleware-whoops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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