PHPackages                             nkovacs/yii2-errbit - 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. nkovacs/yii2-errbit

ActiveYii2-extension[Logging &amp; Monitoring](/categories/logging)

nkovacs/yii2-errbit
===================

Logs errors to \[errbit\](https://github.com/errbit/errbit)

0.1.3(11y ago)023.5k3[1 PRs](https://github.com/nkovacs/yii2-errbit/pulls)BSD-3-ClausePHP

Since Dec 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/nkovacs/yii2-errbit)[ Packagist](https://packagist.org/packages/nkovacs/yii2-errbit)[ RSS](/packages/nkovacs-yii2-errbit/feed)WikiDiscussions master Synced today

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

Yii 2 Errbit error handler
==========================

[](#yii-2-errbit-error-handler)

Logs errors to [errbit](https://github.com/errbit/errbit)

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist nkovacs/yii2-errbit "*"

```

or add

```
"nkovacs/yii2-errbit": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Replace the default error handler with either `\nkovacs\errbit\WebErrorHandler` or `\nkovacs\errbit\ConsoleErrorHandler`:

```
...
    'components' => [
        'errorHandler' => [
            'class' => 'nkovacs\errbit\ConsoleErrorHandler',
            'errbit' => [
                'api_key' => 'your api key',
                'host' => 'errbit.example.org',
            ],
        ],
    ],
...
```

or

```
...
    'components' => [
        'errorHandler' => [
            'class' => 'nkovacs\errbit\ConsoleErrorHandler',
            'errbit' => [
                'api_key' => 'your api key',
                'host' => 'errbit.example.org',
            ],
        ],
    ],
...
```

You can pass additional options to errbitPHP:

```
...
    'components' => [
        'errorHandler' => [
            'class' => 'nkovacs\errbit\ConsoleErrorHandler',
            `errbit` => [
                'api_key' => 'your api key',
                'host' => 'errbit.example.org',
                'environment_name' => 'development',
            ],
        ],
    ],
...
```

To enable the js notifier:

```
...
    'components' => [
        'errorHandler' => [
            'class' => 'nkovacs\errbit\WebErrorHandler',
            `errbit` => [
                'api_key' => 'your api key',
                'host' => 'errbit.example.org',
            ],
            'jsNotifier' => true,
        ],
    ],
...
```

You can pass additional options to the js plugin using the `jsOptions` property.

If the controller implements `UserInfoInterface`, the information returned by `getErrbitUserInfo` will also be sent to errbit.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Total

4

Last Release

4050d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2269242?v=4)[Nikola Kovacs](/maintainers/nkovacs)[@nkovacs](https://github.com/nkovacs)

---

Top Contributors

[![nkovacs](https://avatars.githubusercontent.com/u/2269242?v=4)](https://github.com/nkovacs "nkovacs (8 commits)")

---

Tags

yii2extensionerrbit

### Embed Badge

![Health badge](/badges/nkovacs-yii2-errbit/health.svg)

```
[![Health](https://phpackages.com/badges/nkovacs-yii2-errbit/health.svg)](https://phpackages.com/packages/nkovacs-yii2-errbit)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[mito/yii2-sentry

Yii 2 extension for Sentry

92382.0k](/packages/mito-yii2-sentry)[sammaye/yii2-audittrail

A port of audit trail

40417.9k](/packages/sammaye-yii2-audittrail)[lav45/yii2-activity-logger

Tools to store user activity log for Yii2

3460.8k](/packages/lav45-yii2-activity-logger)[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.8k58](/packages/skeeks-cms)[apollo11/yii2-logger

Log application errors in slack channel

1012.0k1](/packages/apollo11-yii2-logger)

PHPackages © 2026

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