PHPackages                             devskyfly/yii-extension-telegram-target - 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. devskyfly/yii-extension-telegram-target

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

devskyfly/yii-extension-telegram-target
=======================================

v1.0.1(4y ago)0450MITPHP

Since Nov 22Pushed 4y agoCompare

[ Source](https://github.com/devskyfly/yii-extension-telegram-target)[ Packagist](https://packagist.org/packages/devskyfly/yii-extension-telegram-target)[ RSS](/packages/devskyfly-yii-extension-telegram-target/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

yii-extension-telegram-target
-----------------------------

[](#yii-extension-telegram-target)

Realize telegram chat as log target.

### Config targets.

[](#config-targets)

```
'components' = [
    'log' => [
        'targets' => [
        [
            'class' => 'devskyfly\yiiExtensionTelegramTarget\TelegramTarget',
            'chatId' => "",
            'botToken' => "BOT:TOKEN",
            'botUserName' => 'BOTNAME',
            'levels' => ['error', 'warning'],
            'categories' => ['yii\db\*'],
            'except' => [
                    'yii\web\*',
            ],
        ],
        ...
    ]
]
```

### Bot config and group create

[](#bot-config-and-group-create)

- Ask @Botfather for new bot (/newbot)
- Set bot name
- Set bot username
- Copy tocken
- Create group
- Add bot to group
- Write several masseges
- Make request [https://api.telegram.org/bot\*\*YourBOTToken\*\*/getUpdates](https://api.telegram.org/bot**YourBOTToken**/getUpdates) and get chatId

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Total

2

Last Release

1629d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a32509ce5b5b83514f30f64e6df7431a157b53dd22e3b6af5339e45b618f1ee?d=identicon)[devskyfly](/maintainers/devskyfly)

---

Top Contributors

[![devskyfly](https://avatars.githubusercontent.com/u/32880717?v=4)](https://github.com/devskyfly "devskyfly (7 commits)")

### Embed Badge

![Health badge](/badges/devskyfly-yii-extension-telegram-target/health.svg)

```
[![Health](https://phpackages.com/badges/devskyfly-yii-extension-telegram-target/health.svg)](https://phpackages.com/packages/devskyfly-yii-extension-telegram-target)
```

###  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)[mito/yii2-sentry

Yii 2 extension for Sentry

92377.7k](/packages/mito-yii2-sentry)

PHPackages © 2026

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