PHPackages                             norbis/laravel-log-notification-channel - 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. norbis/laravel-log-notification-channel

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

norbis/laravel-log-notification-channel
=======================================

Log Notification Channel for Laravel

1.0.0(5y ago)028MITPHPPHP ^7.3|^8.0

Since Apr 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/norbis/laravel-log-notification-channel)[ Packagist](https://packagist.org/packages/norbis/laravel-log-notification-channel)[ Docs](https://github.com/norbis/laravel-log-notification-channel.git)[ RSS](/packages/norbis-laravel-log-notification-channel/feed)WikiDiscussions master Synced yesterday

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

Log Notifications Channel for Laravel 7+
========================================

[](#log-notifications-channel-for-laravel-7)

Компонент для отправки уведомлений в лог для Laravel 7+.

Contents
--------

[](#contents)

- [Установка](#%D1%83%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0)
    - [Настройка сервиса](#%D0%BD%D0%B0%D1%81%D1%82%D1%80%D0%BE%D0%B9%D0%BA%D0%B0-%D1%81%D0%B5%D1%80%D0%B2%D0%B8%D1%81%D0%B0)
- [Использование](#%D0%B8%D1%81%D0%BF%D0%BE%D0%BB%D1%8C%D0%B7%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5)
    - [Доступные методы для модели сообщения](#%D0%B4%D0%BE%D1%81%D1%82%D1%83%D0%BF%D0%BD%D1%8B%D0%B5-%D0%BC%D0%B5%D1%82%D0%BE%D0%B4%D1%8B-%D0%B4%D0%BB%D1%8F-%D0%BC%D0%BE%D0%B4%D0%B5%D0%BB%D0%B8-%D1%81%D0%BE%D0%BE%D0%B1%D1%89%D0%B5%D0%BD%D0%B8%D1%8F)
- [Изменения](#%D0%B8%D0%B7%D0%BC%D0%B5%D0%BD%D0%B5%D0%BD%D0%B8%D1%8F)
- [Тестирование](#%D1%82%D0%B5%D1%81%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D0%B8%D0%B5)

Установка
---------

[](#установка)

Установите библиотеку с помощью Composer

```
composer require norbis/laravel-log-notification-channel
```

Сервис провайдер загрузится автоматически или вы можете его добавить вручную:

```
// config/app.php
'providers' => [
    ...
    NotificationChannels\LogChannel\LogChannelServiceProvider::class,
],
```

### Настройка сервиса

[](#настройка-сервиса)

Добавьте канал лога для уведомлений по-умолчанию в ваш `config/services.php`:

```
// config/services.php
...
/* Настройки */
'logchannel' => [
    /* Канал лога уведомлений по-умолчанию */
    'channel' => 'daily',
],
...
```

Использование
-------------

[](#использование)

Вы можете использовать канал в вашем `via()` методе внутри уведомления:

```
use Illuminate\Notifications\Notification;
use NotificationChannels\LogChannel\LogMessage;

class AccountApproved extends Notification
{
    public function via($notifiable)
    {
        return ['log'];
    }

    public function toLog($notifiable)
    {
        return LogMessage::create("Task #{$notifiable->id} is complete!");
    }
}
```

Добавьте метод `routeNotificationForLog()` в вашей модели получателя уведомлений, который будет возвращать контакт или массив контактов.

```
public function routeNotificationForLog()
{
    return $this->phone;
}
```

### Доступные методы для модели сообщения

[](#доступные-методы-для-модели-сообщения)

`channel()`: Устанавливает канал лога сообщения.

`content()`: Устанавливает содержимое сообщения.

`extra()`: Устанавливает дополнительные данные для сообщения.

Изменения
---------

[](#изменения)

Смотрите [Изменения](CHANGELOG.md) для получения информации по изменениям.

Тестирование
------------

[](#тестирование)

```
$ composer test
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

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

Unknown

Total

1

Last Release

1857d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/666026?v=4)[Norbis](/maintainers/Norbis)[@norbis](https://github.com/norbis)

---

Top Contributors

[![norbis](https://avatars.githubusercontent.com/u/666026?v=4)](https://github.com/norbis "norbis (1 commits)")

---

Tags

laravelnotificationssmsgatedengisrazy

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/norbis-laravel-log-notification-channel/health.svg)

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

###  Alternatives

[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8674.9k](/packages/illuminated-console-logger)

PHPackages © 2026

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