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

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

matviib/telegram-logger
=======================

Put log messages from your Laravel app to your Telegram bot

v1.0.1(8y ago)298053[1 issues](https://github.com/MatviiB/telegram-logger/issues)MITPHP

Since Mar 26Pushed 7y ago2 watchersCompare

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

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

 [![build passed](https://camo.githubusercontent.com/20038989a7dbd16fd3abbc02db66a84b70f2a2bb4663439887da902d03d6f2a5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d6174766969422f74656c656772616d2d6c6f676765722f6261646765732f6275696c642e706e673f623d6d6173746572)](https://camo.githubusercontent.com/20038989a7dbd16fd3abbc02db66a84b70f2a2bb4663439887da902d03d6f2a5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d6174766969422f74656c656772616d2d6c6f676765722f6261646765732f6275696c642e706e673f623d6d6173746572) [![code-intelligence](https://camo.githubusercontent.com/5b5331282a5fc3a33da52a17fad76fa6473e843149d3228a4b1ebb0fa05fb985/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d6174766969422f74656c656772616d2d6c6f676765722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://camo.githubusercontent.com/5b5331282a5fc3a33da52a17fad76fa6473e843149d3228a4b1ebb0fa05fb985/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d6174766969422f74656c656772616d2d6c6f676765722f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572) [![downloads](https://camo.githubusercontent.com/f942ee327f4a27ab70a919243ae635ce91a119971701f7714970b30b8cb502b9/68747470733a2f2f706f7365722e707567782e6f72672f6d6174766969622f74656c656772616d2d6c6f676765722f646f776e6c6f616473)](https://camo.githubusercontent.com/f942ee327f4a27ab70a919243ae635ce91a119971701f7714970b30b8cb502b9/68747470733a2f2f706f7365722e707567782e6f72672f6d6174766969622f74656c656772616d2d6c6f676765722f646f776e6c6f616473) [![license](https://camo.githubusercontent.com/50a0893684ee6f64fed54be7f69783d6097f14c55fed53c6f4209ef7b819a656/68747470733a2f2f706f7365722e707567782e6f72672f6d6174766969622f74656c656772616d2d6c6f676765722f6c6963656e7365)](https://camo.githubusercontent.com/50a0893684ee6f64fed54be7f69783d6097f14c55fed53c6f4209ef7b819a656/68747470733a2f2f706f7365722e707567782e6f72672f6d6174766969622f74656c656772616d2d6c6f676765722f6c6963656e7365)

Logging your application problems(achievements) to Telegram
-----------------------------------------------------------

[](#logging-your-application-problemsachievements-to-telegram)

### Ultralight package

[](#ultralight-package)

Usage
-----

[](#usage)

```
  \Log::telegram('Hey, i am your application, and i have a problem');

```

[![laravel telegram logger](https://camo.githubusercontent.com/51c32ec5185b325795ad10e910748c4b4b5bb4ba7980254db1ec7e856ff316da/68747470733a2f2f6769746c61622e636f6d2f4d6174766969422f6173736574732f7261772f6d61737465722f646f776e6c6f61642532302832292e706e67)](https://camo.githubusercontent.com/51c32ec5185b325795ad10e910748c4b4b5bb4ba7980254db1ec7e856ff316da/68747470733a2f2f6769746c61622e636f6d2f4d6174766969422f6173736574732f7261772f6d61737465722f646f776e6c6f61642532302832292e706e67)

Instalation
===========

[](#instalation)

```
composer require matviib/telegram-logger

```

Add to your .env file:

```
TELEGRAM_LOGGER_TOKEN=
TELEGRAM_LOGGER_CHAT_ID=XXX,YYY
#developer1 - XXX
#developer2 - YYY

```

Bonus
=====

[](#bonus)

### Creating telegram bot tutorial

[](#creating-telegram-bot-tutorial)

1. Find BotFather.
2. Send `/newbot`.
3. Set up name and bot-name for your bot.
4. Get token and add it to your .env file.
5. Find your bot (BotFather already generate link to it in last message).
6. Send one or few messages to him.
7. Open next url `https://api.telegram.org/bot/getUpdates` and find `chat_id`.

Steps #6,#7 needed for adding EACH developer to listeners of the bot.

[![laravel telegram logger](https://camo.githubusercontent.com/214efadfc2181ac7fbdab8e0695963ad7e210cc235f6fa3b4923661175ff1182/68747470733a2f2f6769746c61622e636f6d2f4d6174766969422f6173736574732f7261772f6d61737465722f646f776e6c6f61642532302831292e706e67)](https://camo.githubusercontent.com/214efadfc2181ac7fbdab8e0695963ad7e210cc235f6fa3b4923661175ff1182/68747470733a2f2f6769746c61622e636f6d2f4d6174766969422f6173736574732f7261772f6d61737465722f646f776e6c6f61642532302831292e706e67)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

3017d ago

Major Versions

v0.0.1 → v1.0.12018-03-26

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16453002?v=4)[Matvii Bondar](/maintainers/MatviiB)[@MatviiB](https://github.com/MatviiB)

---

Top Contributors

[![MatviiB](https://avatars.githubusercontent.com/u/16453002?v=4)](https://github.com/MatviiB "MatviiB (15 commits)")

---

Tags

laravellaravel-5-packagelaravel-loggerlaravel-logginglaravel-logslaravel-telegramlog-to-telegramloggerlogginglogstelegramtelegram-bottelegram-loggertelegram-loginglaravellogginglogsloggertelegramtelegram botlaravel-5-packagetelegram-loggertelegram-loging

### Embed Badge

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

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

###  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).

14844.4k1](/packages/guanguans-laravel-exception-notify)

PHPackages © 2026

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