Part of the code moved to https://github.com/nofw/foundation
Useful handlers (Airbrake, PSR-3, etc) for the popular error handler filp/whoops.
Via Composer
$ composer require skm/whoops-extra
This handler awaits an Airbrake\Notifier
instance.
Please see the official documentation to learn about it's configuration.
This handler logs the exception message (together with the trace). If it receives an \ErrorException
,
the log level is automatically guessed from the severity of the error, otherwise it is critical
.
This handler is useful if you want to block the exception from reaching eg. the Pretty Page handler in production. Place it before the handlers you don't want Whoops to reach.
$ composer test
If you discover any security related issues, please contact us at mark.sagikazar@gmail.com.
The MIT License (MIT). Please see License File for more information.