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

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

label305/bugsnag-cakephp
========================

Bugsnag Notifier for CakePHP applications

0.1.1(11y ago)333.2k—0%5[1 issues](https://github.com/Label305/bugsnag-cakephp/issues)Apache v2PHP

Since Dec 10Pushed 9y ago9 watchersCompare

[ Source](https://github.com/Label305/bugsnag-cakephp)[ Packagist](https://packagist.org/packages/label305/bugsnag-cakephp)[ RSS](/packages/label305-bugsnag-cakephp/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Bugsnag Notifier for CakePHP
============================

[](#bugsnag-notifier-for-cakephp)

This plugin allows you to use [Bugsnag](https://bugsnag.com) with CakePHP projects. Get notified when your application breaks and view detailed logs and stack traces on specific exceptions and errors.

The `BugsnagErrorHandler` class extends the default CakePHP `ErrorHandler` so the functions of the built in class continue to work.

Quick Start
-----------

[](#quick-start)

Use one of the following methods to include this library in your project.

1. [Install this plugin with Composer](#install-with-composer)
2. [Place the files](#install-by-placing)

Once you've included this library you should modify: `app/Config/core.php`. Make sure to enter your own API key.

```
Configure::write('BugsnagCakephp.apikey', '{yourbugsnagapikey}');

Configure::write('Exception', array(
    'handler' => 'BugsnagErrorHandler::handleException',
    'renderer' => 'ExceptionRenderer',
    'log' => true
));

Configure::write('Error', array(
    'handler' => 'BugsnagErrorHandler::handleError',
    'level' => E_ALL & ~E_DEPRECATED,
    'trace' => true
));
```

And make sure the plugin is loaded by adding the following line to: `app/Config/bootstrap.php`.

```
// place after the 'require' statement for the Bugsnag library.
App::uses('BugsnagErrorHandler', 'BugsnagCakephp.Lib');
```

Install with Composer
---------------------

[](#install-with-composer)

1. Modify `composer.json` to include the following lines:

    ```
    "require": {
      "label305/bugsnag-cakephp": "0.1.*"
    },
    ...
    "extra": {
        "installer-paths": {
            "app/Plugin/{$name}/": ["label305/bugsnag-cakephp"]
        }
    }
    ```
2. And run `composer update`.
3. Require the Bugsnag PHP library in `app/Config/bootstrap.php`.

    ```
    require ROOT . DS . 'vendor' . DS . 'bugsnag' . DS . 'bugsnag' . DS . 'build' . DS . 'bugsnag.phar';
    ```

Install by placing
------------------

[](#install-by-placing)

1. Place the files from this repository in `app/Plugin/BugsnagCakephp`
2. Download the latest [bugsnag.phar](https://raw.github.com/bugsnag/bugsnag-php/master/build/bugsnag.phar)to your PHP project.
3. Require it in `app/Config/bootstrap.php`.

    ```
    require_once 'path' . DS . 'to' . DS . 'bugsnag.phar';
    ```
4. Make sure the php extention `mbstring` is installed.

License
-------

[](#license)

Copyright 2014 Label305 B.V.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~33 days

Total

2

Last Release

4144d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44893?v=4)[Thijs](/maintainers/tscheepers)[@tscheepers](https://github.com/tscheepers)

![](https://avatars.githubusercontent.com/u/411527?v=4)[Label305](/maintainers/Label305)[@Label305](https://github.com/Label305)

---

Top Contributors

[![tscheepers](https://avatars.githubusercontent.com/u/44893?v=4)](https://github.com/tscheepers "tscheepers (9 commits)")[![JBlaak](https://avatars.githubusercontent.com/u/410113?v=4)](https://github.com/JBlaak "JBlaak (1 commits)")[![mickeyschwab](https://avatars.githubusercontent.com/u/2643491?v=4)](https://github.com/mickeyschwab "mickeyschwab (1 commits)")[![msadouni](https://avatars.githubusercontent.com/u/38374?v=4)](https://github.com/msadouni "msadouni (1 commits)")

---

Tags

cakephpbugsnag

### Embed Badge

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

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

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

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

Official Bugsnag PHP PSR Logger.

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

Official Bugsnag notifier for PHP applications.

56347.0M78](/packages/bugsnag-bugsnag)[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)

PHPackages © 2026

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