dev-master
9999999-devBugsnag error reporting integration for Symfony2
MIT
The Requires
The Development Requires
by Steve Lacey
logging symfony2 errors tracking exceptions bugsnag
Bugsnag error reporting integration for Symfony2
Symfony2 bugsnag-php 2.x integration., (*1)
The best way to install the bundle is by using Composer. Execute the following command:, (*2)
composer require simpleweb/bugsnag-bundle
, (*3)
app/AppKernel.php, (*4)
public function registerBundles() { $bundles = array( ... new Simpleweb\BugsnagBundle\SimplewebBugsnagBundle() ... ); }
app/config/config.yml, (*5)
simpleweb_bugsnag: # required api_key: your api key # optional app_version: ~ # useful if you version your app notify_stages: [ stage, prod ] # default proxy: host: ~ port: ~ user: ~ password: ~
By default, this bundle does not handle errors and exceptions that are raised from custom commands., (*6)
console
fileapp/console, (*7)
Swap:, (*8)
use Symfony\Bundle\FrameworkBundle\Console\Application;
For:, (*9)
use Simpleweb\BugsnagBundle\Console\Application;
This bundle is under the MIT license. See the complete license in the bundle:, (*10)
Resources/meta/LICENSE
Included in the bundle is a controller that will allow you to test if your site is hooked up correctly. Just add the following to your routing.yml:, (*11)
simpleweb_bugsnag_bundle: resource: "@SimplewebBugsnagBundle/Resources/config/routing.yml" prefix: /bugsnag
And then afterwards you can access your.domain/bugsnag/exception
and your.domain/bugsnag/error
which should then send errors to your configured Bugsnag project., (*12)
A lot of this code is based on the wrep and evolution7 bundles., (*13)
See also the list of contributors., (*14)
Issues and feature requests are tracked in the Github issue tracker. You're very welcome to submit issues or submit a pull request!, (*15)
Bugsnag error reporting integration for Symfony2
MIT
logging symfony2 errors tracking exceptions bugsnag