skm/whoops-extra

This package is abandoned and no longer maintained. No replacement package was suggested.

Useful handlers (Airbrake, PSR-3, etc) for the popular error handler filp/whoops

v0.1.0 2017-02-06 08:31 UTC

This package is auto-updated.

Last update: 2022-02-01 13:05:15 UTC


README

Part of the code moved to https://github.com/nofw/foundation

Whoops extra

Latest Version Build Status Code Coverage Quality Score Total Downloads

Useful handlers (Airbrake, PSR-3, etc) for the popular error handler filp/whoops.

Install

Via Composer

$ composer require skm/whoops-extra

Usage

Airbrake handler

This handler awaits an Airbrake\Notifier instance. Please see the official documentation to learn about it's configuration.

PSR-3 Log handler

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.

Production handler

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.

Testing

$ composer test

Security

If you discover any security related issues, please contact us at mark.sagikazar@gmail.com.

License

The MIT License (MIT). Please see License File for more information.