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

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

adellantado/monolog-telegram
============================

Logger that sends logs to @hefebot in Telegram

2145PHP

Since Sep 10Pushed 6y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (3)Used By (0)

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

[](#monolog-telegram)

[![](https://camo.githubusercontent.com/cf44094d5e0c101842805df6da395672671459b6cb451fdafb32be05ac504f39/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6164656c6c616e7461646f2f6d6f6e6f6c6f672d74656c656772616d2e737667)](https://packagist.org/packages/adellantado/monolog-telegram)[![](https://camo.githubusercontent.com/62d4a023e56540635fc789a4ea1f50ab8869d955f067ba078f25e00467c4fc5a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6164656c6c616e7461646f2f6d6f6e6f6c6f672d74656c656772616d2e737667)](https://packagist.org/packages/adellantado/monolog-telegram)

Use telegram bot [@hefebot](https://t.me/hefebot) to receive logs.

Run

```
composer require adellantado/monolog-telegram

```

Important:

```
The bot doesn't log lower than 'info' log level

```

Laravel Usage
-------------

[](#laravel-usage)

Visit [@hefebot](https://t.me/hefebot) to receive token

and add config to logging.php

```
'telegram' => [
    'driver' => 'custom',
    'via' => \HefeBot\Logger\TelegramLogger::class,
    'level' => 'warning',
    'token' => ''
]

```

Monolog Usage
-------------

[](#monolog-usage)

Visit [@hefebot](https://t.me/hefebot) to receive token

```
use HefeBot\Logger\TelegramLogger;

$config = [
    'level' => 'warning',
    'token' => '',
    'appName' => 'My App'
];

$logger = new TelegramLogger();
$log = $logger($config);

$log->error('Hello World!');

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2cc6143f2d69aaf460d805c28f185748f1317afa0131c42c11f075011cfb09ef?d=identicon)[adellantado](/maintainers/adellantado)

---

Top Contributors

[![adellantado](https://avatars.githubusercontent.com/u/2136860?v=4)](https://github.com/adellantado "adellantado (5 commits)")

### Embed Badge

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

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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