PHPackages                             steefaan/cakephp-bugsnag - 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. steefaan/cakephp-bugsnag

ActiveCakephp-plugin[Logging &amp; Monitoring](/categories/logging)

steefaan/cakephp-bugsnag
========================

Bugsnag log engine for CakePHP.

1.1.4(8y ago)343.9k↓43.3%6[1 PRs](https://github.com/steefaan/cakephp-bugsnag/pulls)MITPHPPHP &gt;=5.5CI failing

Since Jan 3Pushed 4y ago2 watchersCompare

[ Source](https://github.com/steefaan/cakephp-bugsnag)[ Packagist](https://packagist.org/packages/steefaan/cakephp-bugsnag)[ Docs](http://github.com/steefaan/cakephp-bugsnag)[ RSS](/packages/steefaan-cakephp-bugsnag/feed)WikiDiscussions master Synced today

READMEChangelog (6)Dependencies (4)Versions (9)Used By (0)

Bugsnag Plugin
==============

[](#bugsnag-plugin)

[![Build Status](https://camo.githubusercontent.com/f89d38990c84e6cd16ae4ab58c23b18f8302cb095050912b41e5714fe38c7de0/68747470733a2f2f7472617669732d63692e6f72672f737465656661616e2f63616b657068702d627567736e61672e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/steefaan/cakephp-bugsnag)[![codecov.io](https://camo.githubusercontent.com/d68174b97a1f0fc7eb3b10501e7f2e0e13404bca66a5a97df446795684df4f19/68747470733a2f2f636f6465636f762e696f2f6769746875622f737465656661616e2f63616b657068702d627567736e61672f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/steefaan/cakephp-bugsnag?branch=master)

Provides as custom log engine for Bugsnag.

Requirements
------------

[](#requirements)

- CakePHP 3.x
- PHP 5.4.16 or greater

Installation
------------

[](#installation)

*\[Using [Composer](http://getcomposer.org/)\]*

```
composer require steefaan/cakephp-bugsnag:dev-master

```

### Enable plugin

[](#enable-plugin)

Load the plugin in your app's `config/bootstrap.php` file:

```
Plugin::load('Bugsnag');

```

### Configuration

[](#configuration)

Configure the API-Key for Bugsnag in your app's `config/app.php` file:

```
'Bugsnag' => [
    'apiKey' => 'YOUR_API_KEY'
]

```

### Usage

[](#usage)

Straight forward API usage for Bugsnag and a custom log engine for CakePHP makes it surprisingly easy to implement the plugin to a new or even to an existing project. As usual and described in [CakePHP's documentation](http://book.cakephp.org/3.0/en/core-libraries/logging.html#logging-configuration) you can configure the log engine as follows:

```
'Log' => [
    'bugsnag' => [
        'className' => 'Bugsnag\Log\Engine\BugsnagLog',
        'releaseStage' => 'development',
        'filters' => [
            'password'
        ]
        ... more options
    ]
],

```

For a complete list of all available options, please refer to [Bugsnag's documentation](https://bugsnag.com/docs/notifiers/php#additional-configuration). This plugin doesn't know any limitation, you can use all configuration settings which are listed in Bugsnag's documentation. Please keep in mind that you need to remove the `set` prefix for each Bugsnag option. `setFilters` becomes `filters`, `setReleaseStage` becomes `releaseStage` and so on.

If you want to modify the Bugsnag notification before you send it to the their API, you can do this easily with an event listener. You only need to listen to the following event:

```
Log.Bugsnag.beforeNotify

```

How you can listen to events is detailed described in [Cake's documentation](http://book.cakephp.org/3.0/en/core-libraries/events.html#registering-listeners). This plugin comes with a ready to use Listener to provide you the best Bugsnag experience. I suggest to load this listener even if you write your own. You can configure the built in listener in your app's `config/bootstrap.php` as follows:

```
use Bugsnag\Listener\BugsnagListener;

EventManager::instance()->on(new BugsnagListener());

```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~46 days

Recently: every ~53 days

Total

8

Last Release

3146d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5982785?v=4)[Stefan D.](/maintainers/steefaan)[@steefaan](https://github.com/steefaan)

---

Top Contributors

[![steefaan](https://avatars.githubusercontent.com/u/5982785?v=4)](https://github.com/steefaan "steefaan (7 commits)")[![juliandimitrov](https://avatars.githubusercontent.com/u/11029398?v=4)](https://github.com/juliandimitrov "juliandimitrov (1 commits)")

---

Tags

cakephpbugsnag

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/steefaan-cakephp-bugsnag/health.svg)

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

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

90336.2M38](/packages/bugsnag-bugsnag-laravel)[cakephp/debug_kit

CakePHP Debug Kit

86314.7M171](/packages/cakephp-debug-kit)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32134.1M3](/packages/bugsnag-bugsnag-psr-logger)[cakephp/bake

Bake plugin for CakePHP

11212.0M202](/packages/cakephp-bake)[dereuromark/cakephp-queue

The Queue plugin for CakePHP provides deferred task execution.

308954.9k25](/packages/dereuromark-cakephp-queue)[dereuromark/cakephp-ide-helper

CakePHP IdeHelper Plugin to improve auto-completion

1882.3M44](/packages/dereuromark-cakephp-ide-helper)

PHPackages © 2026

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