PHPackages                             pinfirestudios/yii1-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. pinfirestudios/yii1-bugsnag

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

pinfirestudios/yii1-bugsnag
===========================

Yii1 log target and ErrorHandler for Bugsnag

v1.0.14(1y ago)11.4k↑718.2%1MITPHP

Since Apr 23Pushed 1y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (16)Used By (0)

Yii1 Bugsnag integration
========================

[](#yii1-bugsnag-integration)

To use, configure as such:

```
$config = [
    'components' => [
        'errorHandler' => [
            'class' => 'pinfirestudios\yii1bugsnag\BugsnagErrorHandler'
        ],
        'bugsnag' => [
            'class' => 'pinfirestudios\yii1bugsnag\BugsnagComponent', // Or your override of such
            'bugsnag_api_key' => 'YOUR API KEY',
            'notifyReleaseStages' => ['staging', 'production'],
        ],
        'log' => [
			'class' => 'CLogRouter',
            'routes' => [
                [
                    'class' => 'pinfirestudios\yii1bugsnag\BugsnagLogTarget',
                    'levels' => 'error, warning, info, trace',
                ]
            ],
        ],
    ],
];

```

If you would like to use Bugsnag's javascript on your site, you'll need to install *bower-asset/bugsnag*:

1. Add the following to your project's composer.json

    "repositories": \[ { "type": "composer", "url": "" } \]
2. Require bower-asset/bugsnag

    composer require bower-asset/bugsnag
3. Once you have it installed, add the BugsnagJsWidget to your default layout. This will automatically register Bugsnag's javascript to the page. Default version is 3.

    $this-&gt;widget(\\pinfirestudios\\yii1bugsnag\\BugsnagJsWidget::class);

If you need to use version 2 of Bugsnag's javascript, you can specify the version in your widget configuration.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance47

Moderate activity, may be stable

Popularity20

Limited adoption so far

Community8

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

Recently: every ~94 days

Total

14

Last Release

393d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/daf9696f59e27b3362a325bb75a0a79850771b809c7f9995bda955f6fc87f186?d=identicon)[pinfirestudios](/maintainers/pinfirestudios)

---

Top Contributors

[![jcherniak](https://avatars.githubusercontent.com/u/1727656?v=4)](https://github.com/jcherniak "jcherniak (20 commits)")

---

Tags

loggingerrors

### Embed Badge

![Health badge](/badges/pinfirestudios-yii1-bugsnag/health.svg)

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

###  Alternatives

[bugsnag/bugsnag-laravel

Official Bugsnag notifier for Laravel applications.

90234.6M36](/packages/bugsnag-bugsnag-laravel)[sentry/sentry-symfony

Symfony integration for Sentry (http://getsentry.com)

73761.4M66](/packages/sentry-sentry-symfony)[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)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)

PHPackages © 2026

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