PHPackages                             zafarjonovich/yii-telegram-action - 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. [Queues &amp; Workers](/categories/queues)
4. /
5. zafarjonovich/yii-telegram-action

ActiveLibrary[Queues &amp; Workers](/categories/queues)

zafarjonovich/yii-telegram-action
=================================

Yii telegram queue

0.0.0.5(4y ago)214PHPPHP &gt;=7.2

Since Sep 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zafarjonovich/yii-telegram-action)[ Packagist](https://packagist.org/packages/zafarjonovich/yii-telegram-action)[ RSS](/packages/zafarjonovich-yii-telegram-action/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)DependenciesVersions (6)Used By (0)

Yii telegram action
===================

[](#yii-telegram-action)

This component helps to run telegram actions with async

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

[](#installation)

`composer install zafarjonovich/yii-telegram-action`

`php yii migrate --migrationPath="@vendor/zafarjonovich/yii-telegram-action/src/migrations"`

Working with component
----------------------

[](#working-with-component)

```
use zafarjonovich\YiiTelegramAction\models\TelegramMessageAction;
use \zafarjonovich\YiiTelegramAction\models\TelegramMessageActionChild;
use zafarjonovich\YiiTelegramAction\base\ChildAction;
use \zafarjonovich\YiiTelegramAction\base\Action;

class SendNotification extends ChildAction
{
    public function run(){

        $children = $this->parent->action->getTelegramMessageActionChildren()->all();

        $options = $this->parent->action->options;

        foreach ($children as $child) {
            \Yii::$app->telegram->sendMessage($child->chat_id,$options['text']);
        }
    }
}

$options = [
    'text' => 'Hello world'
];

$action = TelegramMessageAction::create('UniqueKey',SendNotification::class,$options);

// id = 7
TelegramMessageActionChild::create($action->id,666000111);

// For run action

class SomeControllerAction extends \yii\base\Action
{

}

$controllerAction = new SomeControllerAction();

$asyncAction = new Action($action,$controllerAction);
$asyncAction->run();
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

1692d 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 (3 commits)")

### Embed Badge

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

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

###  Alternatives

[league/geotools

Geo-related tools PHP 7.3+ library

1.4k5.3M26](/packages/league-geotools)[amphp/parser

A generator parser to make streaming parsers simple.

14952.8M16](/packages/amphp-parser)[amphp/serialization

Serialization tools for IPC and data storage in PHP.

13451.1M18](/packages/amphp-serialization)[enqueue/enqueue

Message Queue Library

19820.0M56](/packages/enqueue-enqueue)[deliciousbrains/wp-background-processing

WP Background Processing can be used to fire off non-blocking asynchronous requests or as a background processing tool, allowing you to queue tasks.

1.1k409.8k6](/packages/deliciousbrains-wp-background-processing)[react/async

Async utilities and fibers for ReactPHP

2238.8M171](/packages/react-async)

PHPackages © 2026

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