PHPackages                             milly/laralog - 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. milly/laralog

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

milly/laralog
=============

PHP package to handle logs via telegram bot

1.0.3(2y ago)340MITPHPPHP ^7.3|^8.0

Since Mar 28Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Mirmuxsin/laralog)[ Packagist](https://packagist.org/packages/milly/laralog)[ RSS](/packages/milly-laralog/feed)WikiDiscussions master Synced 1mo ago

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

LARALOG
=======

[](#laralog)

###  PHP Laravel package to debug and handle logs via telegram bot

[](#----php-laravel-package-to-debug-and-handle-logs-via-telegram-bot)

 [![License](https://camo.githubusercontent.com/a2aeb3a80987ae9a159f2fa9ad98f96f8467be57784d436448cf8b035d847055/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d69726d757873696e2f6c6172616c6f673f636f6c6f723d253233666566656665266c6f676f3d676974687562266c6f676f436f6c6f723d253233666566656665267374796c653d666c61742d737175617265)](https://github.com/Mirmuxsin/laralog/blob/master/license) [![Packagist Version](https://camo.githubusercontent.com/b8d2729617a800bd0fab0f36215d51010894f81fddd7ddddaab5074528789e04/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d696c6c792f6c6172616c6f673f636f6c6f723d253233666566656665266c6162656c3d4c6172616772616d266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d253233666566656665267374796c653d666c61742d737175617265)](https://packagist.org/packages/milly/laralog) [![Packagist Version](https://camo.githubusercontent.com/798fbc1f752833c8b4125f06886b5de126f676f7e603af781d794a0efa5075a5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4275792532306d65253230612d636f666665652d2532336665666566653f7374796c653d666c61742d737175617265266c6f676f3d70617472656f6e266c6f676f436f6c6f723d253233666566656665)](https://www.patreon.com/millykhamroev)

Requirements
------------

[](#requirements)

- PHP 7.3 or higher
- [Laragram package ](https://github.com/Mirmuxsin/laragram) ^2.0|^3.0

Installation
------------

[](#installation)

#### Install the package via composer

[](#install-the-package-via-composer)

```
composer require milly/laralog
```

#### Publish the configuration file

[](#publish-the-configuration-file)

```
 php artisan vendor:publish --tag=laralog-config
```

#### Add the following environment variables to your `.env` file or set them in the `config/laralog.php` file

[](#add-the-following-environment-variables-to-your-env-file-or-set-them-in-the-configlaralogphp-file)

```
TELEGRAM_BOT_TOKEN=1234567890:ABCDEFGHIJKLMNOPQRSTUVWXYZ
TELEGRAM_CHAT_ID=-1234567890
```

Methods
-------

[](#methods)

#### The package provides the following methods to send log messages to the telegram bot

[](#the-package-provides-the-following-methods-to-send-log-messages-to-the-telegram-bot)

- `Laralog::debug(int|string|array|object $message)`
- `Laralog::info(int|string|array|object $message)`
- `Laralog::warning(int|string|array|object $message)`
- `Laralog::error(int|string|array|object $message)`

Usage
-----

[](#usage)

#### Send a log message to the telegram bot

[](#send-a-log-message-to-the-telegram-bot)

```
use Milly\Laralog\Laralog;

// call statically
Laralog::debug('This is a debug message');

//call instance
$laralog = new Laralog();
$laralog->info('This is an info message');
```

And you will receive a message in your telegram bot with the debug message like this: [![](img/img1.png)](img/img1.png)

Development mode
----------------

[](#development-mode)

#### By default, the package is in the development mode, which means that it will send messages only if the `APP_ENV` is set to `local`. If you want to send messages in the production mode, you need to set the `is_enabled` key to `true` in the `config/laralog.php` file

[](#by-default-the-package-is-in-the-development-mode-which-means-that-it-will-send-messages-only-if-the-app_env-is-set-to-local-if-you-want-to-send-messages-in-the-production-mode-you-need-to-set-the-is_enabled-key-to-true-in-the-configlaralogphp-file)

```
return [
    'is_enabled' => true,
    'telegram_bot_token' => env('TELEGRAM_BOT_TOKEN'),
    'telegram_chat_id' => env('TELEGRAM_CHAT_ID'),
];
```

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

4

Last Release

779d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/965a03f16af543c5f16fc4da02734c22679947127b960c7aa93185804105c909?d=identicon)[Mirmuxsin](/maintainers/Mirmuxsin)

---

Top Contributors

[![Mirmuxsin](https://avatars.githubusercontent.com/u/58307677?v=4)](https://github.com/Mirmuxsin "Mirmuxsin (21 commits)")

### Embed Badge

![Health badge](/badges/milly-laralog/health.svg)

```
[![Health](https://phpackages.com/badges/milly-laralog/health.svg)](https://phpackages.com/packages/milly-laralog)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[beyondcode/laravel-server-timing

Add Server-Timing header information from within your Laravel apps.

5712.0M1](/packages/beyondcode-laravel-server-timing)[rollbar/rollbar-laravel

Rollbar error monitoring integration for Laravel projects

14110.4M7](/packages/rollbar-rollbar-laravel)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[kitloong/laravel-app-logger

Laravel log for your application

101.2M8](/packages/kitloong-laravel-app-logger)[label84/laravel-auth-log

Log user authentication actions in Laravel.

3654.0k](/packages/label84-laravel-auth-log)

PHPackages © 2026

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