PHPackages                             ldubois/cake-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. ldubois/cake-bugsnag

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

ldubois/cake-bugsnag
====================

bugsnag plugin for CakePHP4

1.2.1(1y ago)05.5k1MITPHPPHP ^8.3CI failing

Since Apr 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ldubois/cake-bugsnag)[ Packagist](https://packagist.org/packages/ldubois/cake-bugsnag)[ RSS](/packages/ldubois-cake-bugsnag/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (6)Versions (17)Used By (0)

CakePHP Bugsnag Plugin
======================

[](#cakephp-bugsnag-plugin)

CakePHP integration for Bugsnag.

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

[](#requirements)

- PHP 7.1+
- CakePHP 4.0+
- and [Bugsnag](https://Bugsnag.com) account

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

[](#installation)

### With composer install.

[](#with-composer-install)

```
composer require ldubois/cake-bugsnag

```

Usage
-----

[](#usage)

### Set config files.

[](#set-config-files)

Write your Bugsnag account info.

```
// in `config/app.php`
return [
  'Bugsnag' => [
    'apiKey' => YOUR_Bugsnag_apiKey,
    'userId' => YOUR_SESSION_USER_ID,//default => Auth.User.id in Session
    'userName' => YOUR_SESSION_USER_NAME //default => Auth.User.name in Session
  ]
];
```

### Loading plugin.

[](#loading-plugin)

In Application.php

```
public function bootstrap()
{
    parent::bootstrap();

    $this->addPlugin(\ldubois\Bugsnag\Plugin::class);
}
```

Or use cake command.

```
bin/cake plugin load ldubois/Bugsnag --bootstrap

```

That's all! 🎉

### Advanced Usage

[](#advanced-usage)

#### Ignore noisy exceptions

[](#ignore-noisy-exceptions)

You can filter out exceptions that make a fuss and harder to determine the issues to address(like PageNotFoundException) Set exceptions not to log in `Error.skipLog`.

ex)

```
// in `config/app.php`
'Error' => [
    'skipLog' => [
        NotFoundException::class,
        MissingRouteException::class,
        MissingControllerException::class,
    ],
]
```

ref: CakePHP Cookbook

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity79

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 ~111 days

Recently: every ~362 days

Total

16

Last Release

542d ago

Major Versions

0.9.7 → 1.0.02022-04-13

PHP version history (4 changes)0.8.0PHP ^7.1

1.0.0PHP ^8.0

1.1.0PHP ^7

1.2PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fe42dd00c178300a72665c543286b7556806bddfc54140d7e98bfe0fdbf7cd9?d=identicon)[ldubois](/maintainers/ldubois)

---

Top Contributors

[![ldubois](https://avatars.githubusercontent.com/u/4848454?v=4)](https://github.com/ldubois "ldubois (2 commits)")

---

Tags

bugsnagcakephp4php

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ldubois-cake-bugsnag/health.svg)

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

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

90234.6M36](/packages/bugsnag-bugsnag-laravel)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

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

Official BugSnag notifier for Symfony applications.

453.0M3](/packages/bugsnag-bugsnag-symfony)[mead-steve/mono-snag

Bugsnag integration for monolog. An abstract handler that sends messages to Bugsnag

20533.2k1](/packages/mead-steve-mono-snag)[evolution7/bugsnag-bundle

Bugsnag error reporting integration for Symfony2

19126.5k1](/packages/evolution7-bugsnag-bundle)[lordsimal/cakephp-sentry

Sentry plugin for CakePHP

12270.3k](/packages/lordsimal-cakephp-sentry)

PHPackages © 2026

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