Registry / utility / franzl-whoops-middleware

franzl-whoops-middleware

JSON →
library2.0.0phppackagistunverified

PSR-15 compatible middleware for Whoops, the pretty error handler

composer require franzl/whoops-middleware
INSTALL
IMPORT
SIG · FRANZL-WHOOPS-MIDD
F
franzl-whoops-middleware
utilityphpv2.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

WhoopsMiddleware
use Franzl\WhoopsMiddleware\WhoopsMiddleware;

Instantiates the Whoops middleware for PSR-15

use Franzl\WhoopsMiddleware\WhoopsMiddleware; $middleware = new WhoopsMiddleware(); // Use with PSR-15 dispatcher
Debug
Known issues
breakingRequires PHP 7.1+ and Whoops 2.x
fix
Ensure your project meets these version requirements
affects: <2.0.0
Upgrade
Version history
2.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
franzl-whoops-middleware — pip install franzl-whoops-middleware · libregistry