PHPackages                             wrep/bugsnag-php-symfony - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. wrep/bugsnag-php-symfony

AbandonedSymfony-bundle[Logging &amp; Monitoring](/categories/logging)

wrep/bugsnag-php-symfony
========================

An integration bundle for the bugsnag-php module into the Symfony2 framework.

1.0.1(12y ago)811.4k5MITPHPPHP &gt;=5.3.1

Since Oct 21Pushed 10y ago1 watchersCompare

[ Source](https://github.com/wrep/bugsnag-php-symfony)[ Packagist](https://packagist.org/packages/wrep/bugsnag-php-symfony)[ Docs](https://github.com/wrep/bugsnag-php-symfony)[ RSS](/packages/wrep-bugsnag-php-symfony/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

bugsnag-php-symfony
===================

[](#bugsnag-php-symfony)

***Important:*** This bundle is not maintained anymore, since we don't use it ourselfs anymore. You probably shouldn't use this in a new project!

An integration bundle for the bugsnag-php module into the Symfony2 framework.

Installation Instructions
-------------------------

[](#installation-instructions)

### Step 1: Download the BugsnagBundle using composer

[](#step-1-download-the-bugsnagbundle-using-composer)

The best way to install the bundle is by using [Composer](http://getcomposer.org). Execute the following command:

`composer require wrep/bugsnag-php-symfony`

### Step 2: Include the bundle in your AppKernel

[](#step-2-include-the-bundle-in-your-appkernel)

*app/AppKernel.php*

```
public function registerBundles()
{
    $bundles = array(
        // System Bundles
        ...
        new Wrep\Bundle\BugsnagBundle\BugsnagBundle(),
        ...
    );
}
```

### Step 3: Configuration

[](#step-3-configuration)

*app/config/config.yml*

```
bugsnag:
    api_key: your_api_key
    notify_stages: [ production ]

```

The `notify_stages` setting is optional. Default value is `production`.

### Step 4 (optional): Reporting errors from custom commands

[](#step-4-optional-reporting-errors-from-custom-commands)

By default, this bundle does not handle errors and exceptions that are raised from custom commands. You need to update the `app/console` file and make sure to call the commands using `--env=prod`.

#### Altering the `console` file

[](#altering-the-console-file)

*app/console*

```
#!/usr/bin/env php
