PHPackages                             joy2fun/laravel-log-pub - 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. joy2fun/laravel-log-pub

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

joy2fun/laravel-log-pub
=======================

Logging to Redis channel for Laravel.

0.1.1(7y ago)2288PHP

Since Oct 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/joy2fun/laravel-log-publish)[ Packagist](https://packagist.org/packages/joy2fun/laravel-log-pub)[ RSS](/packages/joy2fun-laravel-log-pub/feed)WikiDiscussions master Synced today

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

Logging to Redis channel for Laravel
====================================

[](#logging-to-redis-channel-for-laravel)

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

[](#installation)

```
composer require joy2fun/laravel-log-pub
```

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

[](#configuration)

Add a custom logger channel to `config/logging.php` :

```
'pub' => [
    'driver' => 'custom',
    'via' => \Joy2fun\RedisPubLogger\Logger::class
],

```

Logging to configured channel:

```
Log::channel("pub")->debug("dummy");
```

Subscribe Redis channel
-----------------------

[](#subscribe-redis-channel)

```
php artisan redis:subscribe
```

More options
------------

[](#more-options)

```
[
    // ...
    'pub' => [
        'driver' => 'custom',
        'via' => \Joy2fun\RedisPubLogger\Logger::class,
        'with' => [
            'connection' => 'default', // redis connection
            'quiet' => false, // "true" to ignore redis connection exception. default is "false"
            'max_trace_length' => 1024, // truncated stacktrace string. set it to "0" to exclude trace from log
            'format' => "[%datetime%] %channel%.%level_name%: %message% %context% %extra%\n",
        ]
    ]
]
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

2

Last Release

2770d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7264066?v=4)[Chiao F](/maintainers/joy2fun)[@joy2fun](https://github.com/joy2fun)

---

Top Contributors

[![joy2fun](https://avatars.githubusercontent.com/u/7264066?v=4)](https://github.com/joy2fun "joy2fun (9 commits)")

---

Tags

burn-after-readinglaravelloggingpubsubredis

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/joy2fun-laravel-log-pub/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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