PHPackages                             mirkhamidov/yii2-telegram-notifications - 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. [Mail &amp; Notifications](/categories/mail)
4. /
5. mirkhamidov/yii2-telegram-notifications

Abandoned → [m1roff/yii2-telegram-notifications](/?search=m1roff%2Fyii2-telegram-notifications)Yii2-extension[Mail &amp; Notifications](/categories/mail)

mirkhamidov/yii2-telegram-notifications
=======================================

Telegram Notifications

2.0.0(3y ago)04.2k2BSD-3-ClausePHPPHP &gt;=7.1.0

Since Feb 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/m1roff/yii2-telegram-notifications)[ Packagist](https://packagist.org/packages/mirkhamidov/yii2-telegram-notifications)[ RSS](/packages/mirkhamidov-yii2-telegram-notifications/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (1)Versions (8)Used By (0)

Notifications via Telegram-Bot
==============================

[](#notifications-via-telegram-bot)

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

[](#installation)

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

Either run

```
composer require m1roff/yii2-telegram-notifications "dev-master"
```

Configure
---------

[](#configure)

add this lines to your project config file

```
'components' => [
    ...,
    'telegram' => [
        'class' => \m1roff\TelegramNotifications::class,
        'token' => ***', // Token of your bot
        'chat' => ***, // Notifications chat id
        'extraTitle' => "⚠️⚠️⚠️ Some extra title added to message⚠️⚠️⚠️\n", // optional
        'proxy' => 'socks5://LOGIN:PASS@PROXY_ADDRESS:PROXY_PORT', // optional, if needed to use proxy, like in Russia
    ],
],
```

HOW
===

[](#how)

How to find out my user`s Id ot chat id?
----------------------------------------

[](#how-to-find-out-my-users-id-ot-chat-id)

- send message to the bot
- Look at last updates at `https://api.telegram.org/bot{BOT_TOKEN}/getUpdates`
- {BOT\_TOKEN} - replace with your bot token

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

Recently: every ~415 days

Total

7

Last Release

1342d ago

Major Versions

1.4.1 → 2.0.02022-09-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/bb7407e03d23081c6bd033edd93c2b49c4e8786478f6f33b176d03d59e010595?d=identicon)[miroff](/maintainers/miroff)

---

Top Contributors

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

---

Tags

yii2telegram

### Embed Badge

![Health badge](/badges/mirkhamidov-yii2-telegram-notifications/health.svg)

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

###  Alternatives

[loveorigami/yii2-notification-wrapper

This module for renders a message from session flash (with ajax, pjax support and etc.)

77199.7k5](/packages/loveorigami-yii2-notification-wrapper)[nterms/yii2-mailqueue

Email queue component for yii2 that works with yii2-swiftmailer.

87129.2k2](/packages/nterms-yii2-mailqueue)[tuyakhov/yii2-notifications

The extension provides support for sending notifications across a variety of delivery channels, including mail, SMS, Slack etc. Notifications may also be stored in a database so they may be displayed in your web interface.

6735.5k2](/packages/tuyakhov-yii2-notifications)

PHPackages © 2026

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