PHPackages                             zafarjonovich/yii-telegram-error-handler - 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. zafarjonovich/yii-telegram-error-handler

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

zafarjonovich/yii-telegram-error-handler
========================================

YiiTelegramErrorHandler

0.1.5(4y ago)48.1kPHPPHP &gt;=7.0

Since May 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zafarjonovich/YiiTelegramErrorHandler)[ Packagist](https://packagist.org/packages/zafarjonovich/yii-telegram-error-handler)[ RSS](/packages/zafarjonovich-yii-telegram-error-handler/feed)WikiDiscussions main Synced 3w ago

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

Yii telegram error handler
==========================

[](#yii-telegram-error-handler)

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

[](#installation)

Assalomu aleykum. This component is for yii2 framework. You can use this component to send your exceptions to your telegram. It is very easy to use.

If you are creating a web application, you need to put the following code in config/web.php

```

```

If you are creating a console application, you need to put the following code in config / web.php ```

```

Set telegram message structure
------------------------------

[](#set-telegram-message-structure)

You can change the structure of messages that go to the telegram. It is very easy to use.There are 4 placements here.

- {message} - exception message
- {file} - exception file
- {line} - exception line
- {code} - exception code

You set up your message structure as follows

```

```

Typically, the following message structure consists of:

`Message:>Message:>Message: {message}\n\nFile: {file}\n\nLine: {line}\n\nCode: {code}`

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

Total

5

Last Release

1467d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/47502872?v=4)[Asadbek](/maintainers/Zafarjonovich)[@zafarjonovich](https://github.com/zafarjonovich)

---

Top Contributors

[![zafarjonovich](https://avatars.githubusercontent.com/u/47502872?v=4)](https://github.com/zafarjonovich "zafarjonovich (6 commits)")

### Embed Badge

![Health badge](/badges/zafarjonovich-yii-telegram-error-handler/health.svg)

```
[![Health](https://phpackages.com/badges/zafarjonovich-yii-telegram-error-handler/health.svg)](https://phpackages.com/packages/zafarjonovich-yii-telegram-error-handler)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B10.9k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1938.5M261](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M315](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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