PHPackages                             iqbalatma/laravel-telegram-bot-channel-async - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. iqbalatma/laravel-telegram-bot-channel-async

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

iqbalatma/laravel-telegram-bot-channel-async
============================================

v1.0.0(3y ago)012PHPPHP ^8.0.2

Since Feb 14Pushed 3y ago1 watchersCompare

[ Source](https://github.com/iqbalatma/laravel-telegram-bot-channel-async)[ Packagist](https://packagist.org/packages/iqbalatma/laravel-telegram-bot-channel-async)[ RSS](/packages/iqbalatma-laravel-telegram-bot-channel-async/feed)WikiDiscussions master Synced 1mo ago

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

Laravel Telegram Log Bot Channel Async
======================================

[](#laravel-telegram-log-bot-channel-async)

This is a laravel package that used to send application log with Monolog library via telegram channel asynchronously.

Install
-------

[](#install)

Use composer from your terminal to intall this package

```
composer require iqbalatma/laravel-telegram-bot-channel-async

```

Define Telegram Bot Token and chat id (channel id) and set into **.env** file

```
TELEGRAM_APP_KEY=12345:asdngasd13rcffas12r
TELEGRAM_CHANNEL="@atmadevlogging"

```

Add new channel into **config/logging.php**

```
"channels" => [
	...,
	"telegram" => [
		"driver" => "custom",
            	"via" => new Iqbalatma\LaravelTelegramBotChannelAsync\TelegramLogger(env('TELEGRAM_APP_KEY'), env('TELEGRAM_CHANNEL'), true),
            	"level" => "debug"
	]
]
```

If you are using log channel type is stack, you can add channel name "telegram" into the array set like this

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

This package using laravel queue, so the message send asynchronously with Job Class. Before you can use this application you need to set the queue and running the worker. For example you can change the QUEUE\_CONNECTION into database (you can use any other driver to do this, like redis).

```
QUEUE_CONNECTION=database

```

After you change the queue env config, you need to run the migration and the worker with this command

```
php artisan queue:table
php artisan migrate
php artisan queue:work

```

You need to configure the service provider so when the application got an error exception, it can be also send asyncrhonously with overriding the report method handler.

Add the service provider into **config/app.php** file

```
/*
* Package Service Providers...
*/
Iqbalatma\LaravelTelegramBotChannelAsync\Providers\TelegramBotChannelServiceProvider::class,
```

You can log the application with Log class and different level. First parameter is string for log message, and then second parameter is array for log context (optional)

```
use Iqbalatma\LaravelTelegramBotChannelAsync\Log;

Log::debug("This is debug message");
Log::info("This is info message");
Log::notice("This is notice message");
Log::warning("This is warning message");
Log::error("This is error message");
Log::critical("This is critical message");
Log::emergency("This is emergency message", , ["problem" => "Some problem description"]);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

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

1184d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/df27a301b46c16eb668051f715b254cb4e8c7f89d7f178d998d6b01eb0e74ecf?d=identicon)[iqbalatma](/maintainers/iqbalatma)

---

Top Contributors

[![iqbalatma](https://avatars.githubusercontent.com/u/35129050?v=4)](https://github.com/iqbalatma "iqbalatma (8 commits)")

### Embed Badge

![Health badge](/badges/iqbalatma-laravel-telegram-bot-channel-async/health.svg)

```
[![Health](https://phpackages.com/badges/iqbalatma-laravel-telegram-bot-channel-async/health.svg)](https://phpackages.com/packages/iqbalatma-laravel-telegram-bot-channel-async)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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