brokencube / circuit-middleware-whoops
Whoops Middleware for Circuit
Installs: 3 236
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=7.0
- brokencube/circuit: ^1.2 || ^2.0
- filp/whoops: 2.*
This package is not auto-updated.
Last update: 2024-11-10 05:19:28 UTC
README
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');