Registry / utility / filp-whoops

filp-whoops

JSON →
library2.18.4phppackagistunverified

php error handling for cool kids — a pretty error and exception handler for PHP.

composer require filp/whoops
INSTALL
IMPORT
SIG · FILP-WHOOPS
F
filp-whoops
utilityphpv2.18.4
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.

Run
use Whoops\Run;

Register Whoops as the global error handler with a pretty page handler.

use Whoops\Run; use Whoops\Handler\PrettyPageHandler; $whoops = new Run(); $whoops->pushHandler(new PrettyPageHandler()); $whoops->register();
Debug
Known issues
gotchaNot recommended for production use as it may expose sensitive information.
fix
Use a custom handler or disable in production environment.
affects: *
Upgrade
Version history
2.18.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

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