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

ActiveLibrary

kiriminaja/laravel-telegram-log
===============================

Send laravel logs into Telegram Chat via bot

1.0.4.2(3y ago)24.9kMITPHPPHP ^7.4|^8.0

Since Dec 21Pushed 3y agoCompare

[ Source](https://github.com/kiriminaja/laravel-telegram-log)[ Packagist](https://packagist.org/packages/kiriminaja/laravel-telegram-log)[ RSS](/packages/kiriminaja-laravel-telegram-log/feed)WikiDiscussions main Synced 1mo ago

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

[![](https://user-images.githubusercontent.com/39618526/209768908-54509816-d5d5-427e-bb01-05649ad8604a.png)](https://user-images.githubusercontent.com/39618526/209768908-54509816-d5d5-427e-bb01-05649ad8604a.png)

Laravel Telegram Log
--------------------

[](#laravel-telegram-log)

Send logs to Telegram chat via Telegram bot. Inspired by [ https://github.com/grkamil/laravel-telegram-logging](https://github.com/grkamil/laravel-telegram-logging)

####  [Documentation](https://developer.kiriminaja.com)  ·  [Contact Us](mailto:tech@kiriminaja.com)  ·  [Fun IG Account](https://instagram.com/kiriminaja.it)  ·  [Blog](https://developer.kiriminaja.com/blog)

[](#--documentation------contact-us------fun-ig-account------blog)

[![Total Downloads](https://camo.githubusercontent.com/63838c4ca2a7980d2fbbaed64160ff33603a550f9660c35caca61f7a316d8c83/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b6972696d696e616a612f6c61726176656c2d74656c656772616d2d6c6f67)](https://packagist.org/packages/kiriminaja/laravel-telegram-log)[![Latest Stable Version](https://camo.githubusercontent.com/b844e73e4059287be4b3668eaaa4aaa4f9156e1109f68eb879c1eea267de603a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b6972696d696e616a612f6c61726176656c2d74656c656772616d2d6c6f67)](https://packagist.org/packages/kiriminaja/laravel-telegram-log)[![License](https://camo.githubusercontent.com/7eadde3d99fc1b463ddc6eeabad99c0f4831925bff710a7cb58a57a617bdf778/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6b6972696d696e616a612f6c61726176656c2d74656c656772616d2d6c6f67)](https://packagist.org/packages/kiriminaja/laravel-telegram-log)

Requirement
-----------

[](#requirement)

- PHP 8.0 above
- Laravel 8 or higher

Install
-------

[](#install)

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

Configurations
--------------

[](#configurations)

Please define Telegram Bot Credentials and chat id as environment parameters by modifying `.env` on your project path

```
TELEGRAM_BOT_TOKEN=null
TELEGRAM_CHAT_ID=null
TELEGRAM_LOGGER_TEMPLATE=null
TELEGRAM_OPTIONS=[]
```

Create new logging channel by modifying **config/logging.php** file

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

Or if your default log channel is a stack, you can add it to the stack channel like this

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

By default `LOG_CHANNEL` will be set into `stack` so you need to set default logger on env after setting up configurations above

```
LOG_CHANNEL=telegram
```

Publish config file and views to override

```
php artisan vendor:publish --provider "TelegramLog\TelegramServiceProvider"
```

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

[](#create-bot)

For using this plugin, you need to create telegram bot

1. Go to [@BotFather](https://t.me/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

Change log template at runtime
------------------------------

[](#change-log-template-at-runtime)

1. Change config for template.

```
config(['telegram-logger.template'=>'laravel-telegram-logging::custom'])
```

2. Use `Log` as usual

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity57

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

Total

10

Last Release

1238d ago

PHP version history (2 changes)1.0.0PHP ^8.0

1.0.1-betaPHP ^7.4|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f58e3eca6d2004185baff6d5e96ca04a8c1c85e520a906caf2279bf4a72ae75?d=identicon)[yanuaraditia](/maintainers/yanuaraditia)

---

Top Contributors

[![yanuaraditia](https://avatars.githubusercontent.com/u/39618526?v=4)](https://github.com/yanuaraditia "yanuaraditia (14 commits)")

---

Tags

laravellaravel-botlaravel-pluginlaravel-telegram-loggertelegram-bot

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[mateusjunges/laravel-kafka

A kafka driver for laravel

7163.1M17](/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.

44643.1k1](/packages/pressbooks-pressbooks)[honeybadger-io/honeybadger-laravel

Honeybadger Laravel integration

431.2M](/packages/honeybadger-io-honeybadger-laravel)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[rareloop/lumberjack-core

A powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code

42155.0k19](/packages/rareloop-lumberjack-core)

PHPackages © 2026

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