PHPackages                             doker42/laravel-telegram-log - 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. doker42/laravel-telegram-log

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

doker42/laravel-telegram-log
============================

laravel logger to telegram chat

1.0(2y ago)026MITPHPPHP ^8.1

Since Apr 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/doker42/telegramlog)[ Packagist](https://packagist.org/packages/doker42/laravel-telegram-log)[ RSS](/packages/doker42-laravel-telegram-log/feed)WikiDiscussions master Synced yesterday

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

LARAVEL logger to telegram chat
-------------------------------

[](#laravel-logger-to-telegram-chat)

Desctiption: sending error or info messages to target telegram chat from laravel application. Using two channels (info/error). Possibility use different bots for sending messeges or using only one bot and one chat. Git link

### instalation

[](#instalation)

```
- composer require doker42/laravel-telegram-log

```

### add config file telegramlog.php to config directory

[](#add-config-file-telegramlogphp-to-config-directory)

```
return [

    'channels' => [

        'info' => [
            'bot_token'     => env('TELEGRAM_BOT_TOKEN'),
            'chat_group_id' => env('TELEGRAM_LOG_INFO_CHAT_GROUP_ID')
        ],

        'error'  => [
            'bot_token'     => env('TELEGRAM_BOT_TOKEN'),
            'chat_group_id' => env('TELEGRAM_LOG_ERROR_CHAT_GROUP_ID')
        ],
    ],

];

```

### add data to .env, telegramBotId, telegramChatId

[](#add-data-to-env--telegrambotid-telegramchatid)

```
TELEGRAM_BOT_TOKEN=
TELEGRAM_LOG_INFO_CHAT_GROUP_ID=
TELEGRAM_LOG_ERROR_CHAT_GROUP_ID=

```

### basic usage

[](#basic-usage)

```
use Doker42\Telegramlog\TelegramLogger;

$message = [
    'text' => 'test text',
    'message' => 'test message',
    ...
];

/** INFO log chat */
TelegramLogger::dispatch($message, TelegramLogger::TYPE_INFO);
/** ERROR log chat */
TelegramLogger::dispatch($message, TelegramLogger::TYPE_ERROR);

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Unknown

Total

1

Last Release

810d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/26852737?v=4)[doker42](/maintainers/doker42)[@doker42](https://github.com/doker42)

---

Top Contributors

[![doker42](https://avatars.githubusercontent.com/u/26852737?v=4)](https://github.com/doker42 "doker42 (7 commits)")

### Embed Badge

![Health badge](/badges/doker42-laravel-telegram-log/health.svg)

```
[![Health](https://phpackages.com/badges/doker42-laravel-telegram-log/health.svg)](https://phpackages.com/packages/doker42-laravel-telegram-log)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M276](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M343](/packages/open-telemetry-sdk)[ide2/telegram-handler

Handle logs with telegram bot

2216.4k](/packages/ide2-telegram-handler)[jackmartin/telegram-logger-errors

Telegram logger errors package laravel

1331.3k](/packages/jackmartin-telegram-logger-errors)

PHPackages © 2026

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