PHPackages                             bossit/yii2-telegram-logger - 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. bossit/yii2-telegram-logger

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

bossit/yii2-telegram-logger
===========================

Push the message in Telegram

1.0.5(7y ago)0642PHPPHP ^7.0

Since Feb 13Pushed 7y ago1 watchersCompare

[ Source](https://github.com/bossit/yii2-telegram-logger)[ Packagist](https://packagist.org/packages/bossit/yii2-telegram-logger)[ RSS](/packages/bossit-yii2-telegram-logger/feed)WikiDiscussions master Synced 2w ago

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

yii2-telegram-logger
====================

[](#yii2-telegram-logger)

Push the message in Telegram channel.

[![Latest Stable Version](https://camo.githubusercontent.com/a3bd7c4133088c6cb8e6e83cc0d460cb1a36c0daa629114572dda0c156bab8a3/68747470733a2f2f706f7365722e707567782e6f72672f626f737369742f796969322d74656c656772616d2d6c6f676765722f762f737461626c65)](https://packagist.org/packages/bossit/yii2-telegram-logger)[![Build Status](https://camo.githubusercontent.com/60700f008111921c7a793112e106189c34c30a97cb0585b28fc6118ac6807d21/68747470733a2f2f7472617669732d63692e6f72672f626f737369742f796969322d74656c656772616d2d6c6f676765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/bossit/yii2-telegram-logger)[![Total Downloads](https://camo.githubusercontent.com/bf3322fbd02560bde106ff2445db68611fc2ba75cd845d1d9ccbb3ab4380f4ae/68747470733a2f2f706f7365722e707567782e6f72672f626f737369742f796969322d74656c656772616d2d6c6f676765722f646f776e6c6f616473)](https://packagist.org/packages/bossit/yii2-telegram-logger)

Install
-------

[](#install)

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

```
$ composer require bossit/yii2-telegram-logger:^1.0

```

Usage
-----

[](#usage)

The preferred way is to setup the components into our Application's configuration array:

```
'components' => [
    'telegramLogger' => [
        'class'     => \bossit\logger\TelegramService::class,
        'botKey'    => 'xxx:zzz',
        'botName'   => 'YouNameBot',
        'channelId' => '-100xxx'
    ],
],
```

That's it, you are ready to use them as Yii2 components.

##### Send a message to channel:

[](#send-a-message-to-channel)

```
\Yii::$app->telegramLogger->push('Hello, %username%!');
```

##### Send a message with title to channel:

[](#send-a-message-with-title-to-channel)

```
\Yii::$app->telegramLogger->push('Hello, %username%!', 'Authorization');
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

Total

5

Last Release

2689d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10044296?v=4)[Dinar Mukhametshin](/maintainers/bossit)[@bossit](https://github.com/bossit)

---

Top Contributors

[![bossit](https://avatars.githubusercontent.com/u/10044296?v=4)](https://github.com/bossit "bossit (33 commits)")

---

Tags

yii2telegram

### Embed Badge

![Health badge](/badges/bossit-yii2-telegram-logger/health.svg)

```
[![Health](https://phpackages.com/badges/bossit-yii2-telegram-logger/health.svg)](https://phpackages.com/packages/bossit-yii2-telegram-logger)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[bedezign/yii2-audit

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

200688.7k4](/packages/bedezign-yii2-audit)[mito/yii2-sentry

Yii 2 extension for Sentry

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

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

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

PHPackages © 2026

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