PHPackages                             revangelista/telegram-logger - 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. revangelista/telegram-logger

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

revangelista/telegram-logger
============================

Send logs to Telegram chat via Telegram bot

1.4.0(2y ago)118.2k↓20%2MITPHPPHP ^7.1.3 || ^8.0

Since Oct 13Pushed 2y ago1 watchersCompare

[ Source](https://github.com/renevangelista/telegram-logger)[ Packagist](https://packagist.org/packages/revangelista/telegram-logger)[ GitHub Sponsors](https://github.com/renevangelista)[ RSS](/packages/revangelista-telegram-logger/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Telegram Logger
===============

[](#telegram-logger)

Send logs to Telegram chat via Telegram bot in your Laravel application

Install
-------

[](#install)

```

composer require revangelista/telegram-logger

```

Set a new channel in the **config/logging.php** file, with the following variables:

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

Where **token** is the token of your Telegram bot and **chat\_id** is where the bot will send the messages

If you want your Telegram bot to send log messages for more than one chat at the same time, you can write the channel settings like this:

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

If your default log channel is a stack, you can add it to the **stack** channel like this:

```
'stack' => [
    'driver' => 'stack',
    'channels' => ['single', 'telegram'],
]
```

Or you can simply change the default log channel in the .env

```
LOG_CHANNEL=telegram

```

Logging
-------

[](#logging)

For more information on custom log channels, check the [Laravel documentation](https://laravel.com/docs/master/logging) on this.

Create bot
----------

[](#create-bot)

For using this package you need to create Telegram bot

1. Go to @BotFather in the Telegram
2. Send `/newbot`
3. Set up name and bot-name for your bot.
4. Get token and add it to your .env file (it is written above)
5. Go to your bot and send `/start` message

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 93.8% 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 ~289 days

Total

5

Last Release

933d ago

PHP version history (2 changes)1.0.0PHP ^7.1.3

1.2.0PHP ^7.1.3 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![renevangelista](https://avatars.githubusercontent.com/u/17853223?v=4)](https://github.com/renevangelista "renevangelista (15 commits)")[![filipefico](https://avatars.githubusercontent.com/u/1486214?v=4)](https://github.com/filipefico "filipefico (1 commits)")

---

Tags

laravelphptelegram

### Embed Badge

![Health badge](/badges/revangelista-telegram-logger/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[illuminate/log

The Illuminate Log package.

6225.3M622](/packages/illuminate-log)[mateusjunges/laravel-kafka

A kafka driver for laravel

7253.6M20](/packages/mateusjunges-laravel-kafka)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[grkamil/laravel-telegram-logging

Send logs to Telegram chat via Telegram bot

163509.2k](/packages/grkamil-laravel-telegram-logging)[honeybadger-io/honeybadger-laravel

Honeybadger Laravel integration

431.3M](/packages/honeybadger-io-honeybadger-laravel)

PHPackages © 2026

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