fortis/silex-bugsnag

This package is abandoned and no longer maintained. The author suggests using the bugsnag/bugsnag-silex package instead.

Bugsnag error reporting integration for Silex 2

v1.0.1 2016-08-05 09:44 UTC

This package is auto-updated.

Last update: 2021-02-13 14:27:33 UTC


README

#Silex 2 Service Provider for Bugsnag

Bugsnag captures errors in real-time from your web, mobile and desktop applications, helping you to understand and resolve them as fast as possible. Create a free account to start capturing errors from your applications.

Usage

Register

$app->register(new \Bugsnag\Silex\Provider\BugsnagServiceProvider, array(
    'bugsnag.options' => array(
        'apiKey' => '06615ad354054619aa3d601ea89af945'
    )
));

Thats it, all exceptions will be sent to Bugsnag dashboard.

If you want to access the bugsnag client directly (for example, to configure it or to send a crash report manually), you can use $app['bugsnag'].