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

v2.0.1(3w ago)11.6k↓69.7%1MITPHP

Since Apr 23Pushed 3w 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 1w ago

READMEChangelogDependencies (5)Versions (20)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

53

—

FairBetter than 96% of packages

Maintenance95

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity72

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

Recently: every ~133 days

Total

16

Last Release

22d ago

Major Versions

v1.0.14 → v2.0.02026-07-20

### 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

###  Code Quality

Static AnalysisRector

### 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.

90336.8M38](/packages/bugsnag-bugsnag-laravel)[sentry/sentry-symfony

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

73767.8M111](/packages/sentry-sentry-symfony)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32134.7M4](/packages/bugsnag-bugsnag-psr-logger)[bugsnag/bugsnag

Official Bugsnag notifier for PHP applications.

56349.9M98](/packages/bugsnag-bugsnag)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33725.2M90](/packages/rollbar-rollbar)[analog/analog

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

3441.6M24](/packages/analog-analog)

PHPackages © 2026

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