PHPackages                             holdmann/monolog-telegram-async - 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. holdmann/monolog-telegram-async

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

holdmann/monolog-telegram-async
===============================

Handler for Monolog to send logs by Telegram asynchronously

v1.0.0(1mo ago)011MITPHPPHP ^7.4 || ^8

Since Apr 29Pushed 1mo agoCompare

[ Source](https://github.com/holdmann/monolog-telegram-async)[ Packagist](https://packagist.org/packages/holdmann/monolog-telegram-async)[ RSS](/packages/holdmann-monolog-telegram-async/feed)WikiDiscussions master Synced 1w ago

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

monolog-telegram-async
======================

[](#monolog-telegram-async)

Handler for Monolog to send logs by Telegram asynchronously in HTML format

Requirements
------------

[](#requirements)

- PHP 7.4 or above
- Guzzle 7+

Installation with composer
--------------------------

[](#installation-with-composer)

```
composer require holdmann/monolog-telegram-async
```

Declaring handler object
------------------------

[](#declaring-handler-object)

To declare this handler, you need to know the bot token and the chat identifier(chat\_id) to which the log will be sent.

```
// ...
$handler = new \Holdmann\Monolog\TelegramAsyncHandler('', , );
// ...
```

**Example:**

```
$log = new \Monolog\Logger('telegram_channel');

$handler = new \Holdmann\Monolog\TelegramAsyncHandler(
    '000000000:XXXXX-xxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
    123456789,
    \Monolog\Logger::DEBUG
);
$handler->setFormatter(new \Monolog\Formatter\LineFormatter("%message%", null, true));
$log->pushHandler($handler);

$log->debug('Test message');
```

The above example is using standard LineFormatter from Monolog package. You can write and use your own message formatter for better logs format.

**Example with proxy (for russian servers):**

```
$handler = new \Holdmann\Monolog\TelegramAsyncHandler('', , );
$handler->setProxy('http://username:password@192.168.16.1:80'); // or simply 'http://192.168.16.1:80'
$handler->setFormatter(new \Monolog\Formatter\LineFormatter("%message%", null, true));
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance91

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

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

Unknown

Total

1

Last Release

41d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2150007?v=4)[Oleg Scherbakov](/maintainers/holdmann)[@holdmann](https://github.com/holdmann)

---

Top Contributors

[![holdmann](https://avatars.githubusercontent.com/u/2150007?v=4)](https://github.com/holdmann "holdmann (1 commits)")

---

Tags

logasyncloggingtelegrammonolog

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/holdmann-monolog-telegram-async/health.svg)

```
[![Health](https://phpackages.com/badges/holdmann-monolog-telegram-async/health.svg)](https://phpackages.com/packages/holdmann-monolog-telegram-async)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k11](/packages/tempest-framework)[rahimi/monolog-telegram

A handler for Monolog that sends messages to Telegram Channels

6980.2k1](/packages/rahimi-monolog-telegram)[jacklul/monolog-telegram

Monolog handler that sends logs through Telegram bot to any chat in HTML format

2469.4k2](/packages/jacklul-monolog-telegram)[mero/telegram-handler

Monolog handler to send log by Telegram

36114.6k](/packages/mero-telegram-handler)[thecoder/laravel-monolog-telegram

Telegram Handler for Monolog

2941.1k](/packages/thecoder-laravel-monolog-telegram)[lefuturiste/monolog-discord-handler

A simple monolog handler for support Discord webhooks

34116.0k4](/packages/lefuturiste-monolog-discord-handler)

PHPackages © 2026

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