PHPackages                             simpleweb/bugsnag-bundle - 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. simpleweb/bugsnag-bundle

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

simpleweb/bugsnag-bundle
========================

Bugsnag error reporting integration for Symfony2

111.2k2PHP

Since Mar 2Pushed 10y ago15 watchersCompare

[ Source](https://github.com/simpleweb/BugsnagBundle)[ Packagist](https://packagist.org/packages/simpleweb/bugsnag-bundle)[ RSS](/packages/simpleweb-bugsnag-bundle/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (1)Used By (0)

SimplewebBugsnagBundle
======================

[](#simplewebbugsnagbundle)

Symfony2 [bugsnag-php](https://github.com/bugsnag/bugsnag-php) 2.x integration.

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 simpleweb/bugsnag-bundle`

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

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

*app/AppKernel.php*

```
public function registerBundles()
{
    $bundles = array(
        ...
        new Simpleweb\BugsnagBundle\SimplewebBugsnagBundle()
        ...
    );
}
```

### Step 3: Configuration

[](#step-3-configuration)

*app/config/config.yml*

```
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: ~
```

### 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.

#### Altering the `console` file

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

*app/console*

Swap:

```
use Symfony\Bundle\FrameworkBundle\Console\Application;
```

For:

```
use Simpleweb\BugsnagBundle\Console\Application;
```

License
-------

[](#license)

This bundle is under the MIT license. See the complete license in the bundle:

```
Resources/meta/LICENSE

```

Testing
-------

[](#testing)

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:

```
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.

Contributors
------------

[](#contributors)

A lot of this code is based on the [wrep](https://github.com/wrep/bugsnag-php-symfony)and [evolution7](https://github.com/evolution7/Evolution7BugsnagBundle)bundles.

### Why yet another bundle?

[](#why-yet-another-bundle)

- I wanted to make a number of non-BC changes
- I wanted some functionality from Evolution7
- I wanted some functionality from Wrep
- I wanted to rip out a lot of stuff from Evolution7 (release stage/class loader)
- I didn't want Evolution7's license (pretty sure it should be Wrep's?)

See also the list of [contributors](https://github.com/simpleweb/BugsnagBundle/contributors).

Reporting an issue or a feature request
---------------------------------------

[](#reporting-an-issue-or-a-feature-request)

Issues and feature requests are tracked in the [Github issue tracker](https://github.com/simpleweb/BugsnagBundle/issues). You're very welcome to submit issues or submit a pull request!

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 58.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/b1881db8e9b196f9547a3d254c0145a9e23ecfe379b589eccb8528beaa31f557?d=identicon)[simpleweb](/maintainers/simpleweb)

---

Top Contributors

[![PATROMO](https://avatars.githubusercontent.com/u/318564?v=4)](https://github.com/PATROMO "PATROMO (7 commits)")[![ArjenSchwarz](https://avatars.githubusercontent.com/u/1787643?v=4)](https://github.com/ArjenSchwarz "ArjenSchwarz (2 commits)")[![stevelacey](https://avatars.githubusercontent.com/u/289531?v=4)](https://github.com/stevelacey "stevelacey (2 commits)")[![fejese](https://avatars.githubusercontent.com/u/696029?v=4)](https://github.com/fejese "fejese (1 commits)")

### Embed Badge

![Health badge](/badges/simpleweb-bugsnag-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/simpleweb-bugsnag-bundle/health.svg)](https://phpackages.com/packages/simpleweb-bugsnag-bundle)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
