PHPackages                             yemeni-open-source/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. yemeni-open-source/laravel-telegram-log

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

yemeni-open-source/laravel-telegram-log
=======================================

Laravel telegram log is a package that can catch your logs all quite simply.

8.0.0(3y ago)62851MITPHP

Since Jul 27Pushed 3y ago2 watchersCompare

[ Source](https://github.com/muath-ye/laravel-telegram-log)[ Packagist](https://packagist.org/packages/yemeni-open-source/laravel-telegram-log)[ RSS](/packages/yemeni-open-source-laravel-telegram-log/feed)WikiDiscussions develop Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

[![Laravel Telegram Log](./images/yos-laravel-telegram-log.svg)](./images/yos-laravel-telegram-log.svg)

[![Packagist Downloads](https://camo.githubusercontent.com/ec5fda133e51931067e2c713bfbd517d884b366f38ee79bc0e30844217972ff5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f59656d656e692d4f70656e2d536f757263652f6c61726176656c2d74656c656772616d2d6c6f673f636f6c6f723d626c7565266c6162656c3d446f776e6c6f616473266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/ec5fda133e51931067e2c713bfbd517d884b366f38ee79bc0e30844217972ff5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f59656d656e692d4f70656e2d536f757263652f6c61726176656c2d74656c656772616d2d6c6f673f636f6c6f723d626c7565266c6162656c3d446f776e6c6f616473266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)[![Packagist Version](https://camo.githubusercontent.com/60c684fb470f3a0d09bc013a660c7a1f17a9d3e5d76491039b918cc634fa9e32/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f59656d656e692d4f70656e2d536f757263652f6c61726176656c2d74656c656772616d2d6c6f673f636f6c6f723d677265656e266c6162656c3d56657273696f6e266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/60c684fb470f3a0d09bc013a660c7a1f17a9d3e5d76491039b918cc634fa9e32/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f59656d656e692d4f70656e2d536f757263652f6c61726176656c2d74656c656772616d2d6c6f673f636f6c6f723d677265656e266c6162656c3d56657273696f6e266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)[![GitHub](https://camo.githubusercontent.com/048ec2b9b16cdcb0f65ca3bf6333bd4dd2e6c0bc3e5baf9f3af36faaf5aa0c54/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f59656d656e692d4f70656e2d536f757263652f6c61726176656c2d74656c656772616d2d6c6f673f6c6f676f3d4f70656e253230536f75726365253230496e6974696174697665266c6162656c3d4c6963656e7365266c6f676f436f6c6f723d776869746526636f6c6f723d626c756576696f6c6574)](https://camo.githubusercontent.com/048ec2b9b16cdcb0f65ca3bf6333bd4dd2e6c0bc3e5baf9f3af36faaf5aa0c54/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f59656d656e692d4f70656e2d536f757263652f6c61726176656c2d74656c656772616d2d6c6f673f6c6f676f3d4f70656e253230536f75726365253230496e6974696174697665266c6162656c3d4c6963656e7365266c6f676f436f6c6f723d776869746526636f6c6f723d626c756576696f6c6574)

Laravel Telegram log
====================

[](#laravel-telegram-log)

Laravel telegram log is a package that can catch your logs all quite simply.

Requirments
-----------

[](#requirments)

This package is tested with Laravel v8 it my not work on Laravel v7 or v6 or v5

php^7.3|^8.0Composer^2.3Laravel^8.0Installation
------------

[](#installation)

Install the package by using composer:

> `composer require yemeni-open-source/laravel-telegram-log`

Configure Your Needs
--------------------

[](#configure-your-needs)

You can scape this step if you want to use default configuration, but you can publish telegram logs configuration by running:

> `php artisan vendor:publish --provider="YemeniOpenSource\TelegramLog\TelegramLogServiceProvider" --tag=config`

This will merge the `config/telegramlog.php` config file to your root `config` directory. You are free to modify it.

Setup
-----

[](#setup)

### Create Telegram bot

[](#create-telegram-bot)

Create new telegram bot as following steps:

- visit [@BotFather](https://telegram.me/BotFather)
- send `/newbot` to the [@BotFather](https://telegram.me/BotFather) chat.
- replay with the name of your new bot.
- then replay with the username for your bot.
- copy your bot **token**.

### Open New Chat with your created bot

[](#open-new-chat-with-your-created-bot)

- visit [t.me/username\_of\_your\_bot](http://t.me/username_of_your_bot)
- send `Hi` or any text message.
- visit [https://api.telegram.org/bot&lt;**YourBOTToken**&gt;/getUpdates](https://api.telegram.org/bot%3CYourBOTToken%3E/getUpdates)
- copy your **`id`** which inside `chat` object.

### Update your .env file

[](#update-your-env-file)

```
LOG_CHANNEL=telegram
TELEGRAM_LOGGER_BOT_TOKEN=
TELEGRAM_LOGGER_CHAT_ID=
```

### Add Telegram Log Channel

[](#add-telegram-log-channel)

- Add the `telegram` logging channel to your `config/logging.php`.

```
'channels' => [
    // ...
    'telegram' => [
        'driver' => 'custom',
        'via' => YemeniOpenSource\TelegramLog\Services\TelegramService::class,
        'level' => 'debug',
    ],
    // ...
],
```

Credits
-------

[](#credits)

The MIT License (MIT). Please see [MIT license](LICENSE) File for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

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

1437d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/66c9b114af377fd2400eb4737a18d5d6833a0ece6fc4f9d3b063000d50253f97?d=identicon)[muath-ye](/maintainers/muath-ye)

---

Top Contributors

[![muath-ye](https://avatars.githubusercontent.com/u/34031333?v=4)](https://github.com/muath-ye "muath-ye (82 commits)")

---

Tags

logginglaravel-telegram-logyemeni-open-source

### Embed Badge

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

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

###  Alternatives

[monolog/monolog

Sends your logs to files, sockets, inboxes, databases and various web services

21.4k1.0B8.2k](/packages/monolog-monolog)[symfony/monolog-bundle

Symfony MonologBundle

2.9k262.9M1.8k](/packages/symfony-monolog-bundle)[itsgoingd/clockwork

php dev tools in your browser

5.9k29.7M117](/packages/itsgoingd-clockwork)[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k247.1M334](/packages/sentry-sentry)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k127.1M203](/packages/sentry-sentry-laravel)[sentry/sentry-symfony

Symfony integration for Sentry (http://getsentry.com)

74666.1M95](/packages/sentry-sentry-symfony)

PHPackages © 2026

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