PHPackages                             artyomnar/error-notifier - 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. artyomnar/error-notifier

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

artyomnar/error-notifier
========================

Component writes message into log-file, notifies via telegram and set flash message

v2.1(4y ago)0316[1 issues](https://github.com/artyomnar94/error-notifier/issues)MITPHPPHP &gt;=7.1

Since Apr 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/artyomnar94/error-notifier)[ Packagist](https://packagist.org/packages/artyomnar/error-notifier)[ RSS](/packages/artyomnar-error-notifier/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

error-notifier
==============

[](#error-notifier)

Component writes message into log-file, notifies via telegram and optionally set flash message. Yii2 framework friendly.

[![Latest Stable Version](https://camo.githubusercontent.com/6bdfbdb22db1c8469951ae2b70fbb278618ad00d90119a922254a5af2434bddc/68747470733a2f2f706f7365722e707567782e6f72672f617274796f6d6e61722f6572726f722d6e6f7469666965722f762f737461626c652e706e67)](https://packagist.org/packages/artyomnar/error-notifier)[![Total Downloads](https://camo.githubusercontent.com/6ab546e4d30aaddeb619da3105b7115ae19bd999ca52e8dea59b80cdb2334edd/68747470733a2f2f706f7365722e707567782e6f72672f617274796f6d6e61722f6572726f722d6e6f7469666965722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/artyomnar/error-notifier)

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

[](#installation)

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

Either run

```
composer require artyomnar/error-notifier

```

or add

```
"artyomnar/error-notifier": "1.1"

```

to the require section of your composer.json.

Settings
--------

[](#settings)

- Set in params-local.php file elements:
    - *'telegram\_bot\_token'* =&gt; *'your\_bot\_token'*
    - *'telegram\_chat\_id'* =&gt; *'your\_chat'* Unique identifier for the target chat or username of the target channel (in the format @channelusername)

Usage
-----

[](#usage)

```
try {
    //your code which can throw an exception
} catch (Throwable $exception) {
    ErrorNotifier\ErrorHandler::notify($exception);
}

```

```
try {
    //your code which can throw an exception
} catch (Throwable $exception) {
    ErrorNotifier\ErrorHandler::notify(
        $exception,
        new FlashConfigurator(
            $exception->getMessage(),
            'Service unavailable, try later!'
        )
    );
}

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Total

5

Last Release

1822d ago

Major Versions

v1.2 → v2.02021-05-21

PHP version history (2 changes)v1.0PHP &gt;=7.0

v1.2PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/5e2d7d8dfec8a847c5f939d4a921d69eddddf0e126aaddda2899191462963dd1?d=identicon)[artyomnar94](/maintainers/artyomnar94)

---

Top Contributors

[![artyomnar94](https://avatars.githubusercontent.com/u/57597170?v=4)](https://github.com/artyomnar94 "artyomnar94 (15 commits)")

---

Tags

notifierwrapperyii2telegram

### Embed Badge

![Health badge](/badges/artyomnar-error-notifier/health.svg)

```
[![Health](https://phpackages.com/badges/artyomnar-error-notifier/health.svg)](https://phpackages.com/packages/artyomnar-error-notifier)
```

###  Alternatives

[bedezign/yii2-audit

Yii2 Audit records and displays web/cli requests, database changes, php/js errors and associated data.

201657.4k4](/packages/bedezign-yii2-audit)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[mito/yii2-sentry

Yii 2 extension for Sentry

92377.7k](/packages/mito-yii2-sentry)[airani/yii2-telegram-log

Yii 2.0 telegram log target, send logs to the telegram chats or channels

1655.9k](/packages/airani-yii2-telegram-log)

PHPackages © 2026

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