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)15.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 3w ago

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 86% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 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

598d 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.

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)
