PHPackages                             dbstudios/airbrake-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. dbstudios/airbrake-bundle

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

dbstudios/airbrake-bundle
=========================

Airbrake integration for Symfony

1.2.0(10y ago)01.4kGPL-2.0PHP

Since Dec 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/LartTyler/AirbrakeBundle)[ Packagist](https://packagist.org/packages/dbstudios/airbrake-bundle)[ RSS](/packages/dbstudios-airbrake-bundle/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (2)Versions (15)Used By (0)

Installation
============

[](#installation)

### Step 1: Install the Bundle

[](#step-1-install-the-bundle)

```
$ composer require dbstudios/airbrake-bundle
```

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

```
// app/AppKernel.php
public function registerBundles() {
	return array(
		// ...
		new DaybreakStudios\Bundle\AirbrakeBundle\DaybreakStudiosAirbrakeBundle(),
	);
}
```

### Step 3: Configure

[](#step-3-configure)

While it is possible to add your API key and Project ID directly to `config.yml`, this would cause your private API key to be published to your VCS. It is recommended that you follow the examples below and place the Project ID and API key in `parameters.yml`.

```
# app/config/config.yml
daybreak_studios_airbrake:
	enabled: false
	api_key: %airbrake.api_key%
	project_id: %airbrake.project_id%
	ignored_exceptions: [] # Optional array of exceptions to be ignored by the bundle;
						   # these will NOT be sent to Airbrake
```

```
# app/config/config_prod.yml
daybreak_studios_airbrake:
	enabled: true
```

The above example will set up the bundle with everything you need, and will tell the bundle to only send to Airbrake if you are in the production environment. If you would like Airbrake logging to always be enabled, you can simply set `enabled` to true in the first YAML file in step 3.

### Step 4: Set Up Monolog Watcher (optional)

[](#step-4-set-up-monolog-watcher-optional)

AirbrakeBundle supports watching Monolog log files for certain log levels, and sending just those log entries to Airbrake. If you plan on using this feature, it is recommended that you follow the Symfony tutorial [Adding a Session / Request Token](http://symfony.com/doc/current/cookbook/logging/monolog.html#adding-a-session-request-token).

To enable the log watcher, you will need to add the following to your `services.yml` file (either the global app file or the one in your application bundle).

```
# services.yml
services:
	# ...
	airbrake_log_watcher:
		class: DaybreakStudios\Bundle\AirbrakeBundle\Logging\AirbrakeHandler
		arguments:
			- @daybreak_studios_airbrake.service.airbrake
			- @=constant("Monolog\\Logger::WARNING")
```

That will set up a new Monolog handler as a service. Next, you'll need to add the following to your Monolog handler stack (for more information, please read [How to Use Monolog to Write Logs](http://symfony.com/doc/current/cookbook/logging/monolog.html), specifically the section on using handlers).

```
# config.yml (or whichever config file holds your Monolog handler stack set up)
monolog:
	handlers:
		airbrake:
			type: service
			id: airbrake_log_watcher
		# ...
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Every ~14 days

Recently: every ~27 days

Total

11

Last Release

3717d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/770791?v=4)[Tyler Lartonoix](/maintainers/LartTyler)[@LartTyler](https://github.com/LartTyler)

---

Top Contributors

[![LartTyler](https://avatars.githubusercontent.com/u/770791?v=4)](https://github.com/LartTyler "LartTyler (18 commits)")

### Embed Badge

![Health badge](/badges/dbstudios-airbrake-bundle/health.svg)

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

###  Alternatives

[kouz/laravel-airbrake

Laravel service provider for Airbrake https://github.com/airbrake/phpbrake

26299.5k](/packages/kouz-laravel-airbrake)[evolution7/bugsnag-bundle

Bugsnag error reporting integration for Symfony2

19126.6k1](/packages/evolution7-bugsnag-bundle)

PHPackages © 2026

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