PHPackages                             bzilee/multichannel-log-notification - 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. bzilee/multichannel-log-notification

ActiveLaravel-package[Logging &amp; Monitoring](/categories/logging)

bzilee/multichannel-log-notification
====================================

A Laravel package for sending log notifications via multiple channels (Telegram, HTTP, SMS, Email)

v1.1.1(11mo ago)01MITPHPPHP ^8.0

Since Jun 12Pushed 11mo agoCompare

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

READMEChangelogDependencies (6)Versions (4)Used By (0)

Multichannel Log Notification for Laravel
=========================================

[](#multichannel-log-notification-for-laravel)

A Laravel package for sending log notifications via multiple channels (Telegram, HTTP, SMS, Email) with modular configuration and queue support.

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

[](#installation)

1. Install the package via Composer:

    ```
    composer require bzilee/multichannel-log-notification
    ```
2. Publish the configuration file:

    ```
    php artisan vendor:publish --tag=config
    ```
3. Configure the channels in `config/multichannel_log.php` and add the necessary environment variables in `.env`.

Configuration
-------------

[](#configuration)

Edit your `.env` file to enable and configure the desired channels:

```
LOG_CHANNEL=stack
LOG_DEFAULT_CHANNELS=telegram,email
QUEUE_CONNECTION=redis

LOG_TELEGRAM_ENABLED=true
TELEGRAM_BOT_TOKEN=your_bot_token
TELEGRAM_CHAT_ID=your_chat_id

LOG_EMAIL_ENABLED=true
LOG_EMAIL_TO=logs@example.com
```

Add the `multichannel` channel to `config/logging.php`:

```
'channels' => [
    'stack' => [
        'driver' => 'stack',
        'channels' => ['single', 'multichannel'],
        'ignore_exceptions' => false,
    ],
    'multichannel' => [
        'driver' => 'monolog',
        'handler' => \Bzilee\MultichannelLog\Logging\MultichannelLogHandler::class,
        'with' => [
            'level' => 'debug',
        ],
    ],
]
```

### Queue Support

[](#queue-support)

Notifications are queued for performance. Configure `QUEUE_CONNECTION` in `.env` and run:

```
php artisan queue:work --queue=multichannel-logs
```

### Channels by Log Level

[](#channels-by-log-level)

Configure channels per log level in `config/multichannel_log.php`:

```
'channels_by_level' => [
    'emergency' => ['telegram', 'email', 'sms'],
    'error' => ['telegram', 'email'],
    'info' => ['email'],
    'debug' => ['email'],
],
```

Usage
-----

[](#usage)

### Via Log Facade

[](#via-log-facade)

```
use Illuminate\Support\Facades\Log;

Log::channel('multichannel')->info('Test multichannel log', ['context' => 'Some context']);
```

### Via LogManager Facade

[](#via-logmanager-facade)

```
use Bzilee\MultichannelLog\Facades\LogManager;

LogManager::send('Test log message', ['telegram', 'email']);
```

Deployment
----------

[](#deployment)

1. Publish to Packagist: Push to GitHub and submit to Packagist.
2. Install: `composer require bzilee/multichannel-log-notification`.
3. Configure `.env` and queue.
4. Deploy with a queue worker (e.g., Supervisor).

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

[](#requirements)

- PHP ^8.0
- Laravel ^11.0
- laravel/vonage-notification-channel
- guzzlehttp/guzzle
- monolog/monolog

License
-------

[](#license)

MIT

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance55

Moderate activity, may be stable

Popularity1

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

3

Last Release

331d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/59fbe9870fd2ed0e196015c98feb7964aea7e9680cbcb8b6f0f59e31e096417a?d=identicon)[B.zile](/maintainers/B.zile)

---

Top Contributors

[![bzilee-u](https://avatars.githubusercontent.com/u/269206048?v=4)](https://github.com/bzilee-u "bzilee-u (3 commits)")[![bzilee](https://avatars.githubusercontent.com/u/30582581?v=4)](https://github.com/bzilee "bzilee (1 commits)")

### Embed Badge

![Health badge](/badges/bzilee-multichannel-log-notification/health.svg)

```
[![Health](https://phpackages.com/badges/bzilee-multichannel-log-notification/health.svg)](https://phpackages.com/packages/bzilee-multichannel-log-notification)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[larabug/larabug

Laravel 6.x/7.x/8.x/9.x/10.x/11.x/12.x/13.x bug notifier

299549.3k1](/packages/larabug-larabug)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)

PHPackages © 2026

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