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

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

gordonzero/monolog-telegram
===========================

Laravel 5.6 Monolog custom telegram channel

1.1(6y ago)46.6kMITPHPPHP ^7.1.3

Since Apr 19Pushed 6y ago1 watchersCompare

[ Source](https://github.com/gordonzero/monolog-telegram)[ Packagist](https://packagist.org/packages/gordonzero/monolog-telegram)[ Docs](https://github.com/gordonzero/monolog-telegram)[ RSS](/packages/gordonzero-monolog-telegram/feed)WikiDiscussions master Synced today

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

Laravel 5.6 Monolog Telegram Notification Handler.
--------------------------------------------------

[](#laravel-56-monolog-telegram-notification-handler)

This package will sends an message Via Telegram to a spedified group or user speicifed by the `LOG_TELEGRAM_CHAT_ID`.

### Installation

[](#installation)

```
composer require gordonzero/monolog-telegram

```

Open up `config/logging.php` and find the `channels` key. Add the following channel to the list.

```
'telegram' => [
    'driver' => 'custom',
    'via'=> \Logger\TelegramLogger::class,
    'botKey' => env('LOG_TELEGRAM_BOT_ID'),
    'chatId' => env('LOG_TELEGRAM_CHAT_ID'),
],

```

Add the following information to your `.env` file. Your `LOG_TELEGRAM_BOT_ID` is for the your bot key and `LOG_TELEGRAM_CHAT_ID` is the chat ID for a telegram user or channel.

```
LOG_TELEGRAM_BOT_ID=123456789:ABCDEFGHIJKLMNOPQUSTUFWXYZabcdefghi
LOG_TELEGRAM_CHAT_ID=12345678

```

This package contains a blank Service Provider. This is only to let you know that the package is detected and working properly.

### Side Notes

[](#side-notes)

Currently it does not have any built in methods for figuring out what your `CHAT_ID` is. This may come in a future version or you can check around for posts that tell you how to find this ID number.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Total

2

Last Release

2497d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

loglaravelbottelegrammonologlaravel56

### Embed Badge

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

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

###  Alternatives

[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[jacklul/monolog-telegram

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

2364.7k1](/packages/jacklul-monolog-telegram)[thecoder/laravel-monolog-telegram

Telegram Handler for Monolog

2939.5k](/packages/thecoder-laravel-monolog-telegram)[rahimi/monolog-telegram

A handler for Monolog that sends messages to Telegram Channels

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

Monolog handler to send log by Telegram

36113.3k](/packages/mero-telegram-handler)[yzen.dev/mono-processor

This Processor will display in the logs bread crumbs by which you can more quickly and accurately identify the cause of the error.

116.1k](/packages/yzendev-mono-processor)

PHPackages © 2026

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