PHPackages                             gpxcat/laravel\_log\_formatter - 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. gpxcat/laravel\_log\_formatter

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

gpxcat/laravel\_log\_formatter
==============================

自製的 Laravel Log 格式化

1.3(2y ago)0695PHP

Since Apr 29Pushed 2y ago1 watchersCompare

[ Source](https://github.com/GPXCAT/laravel_log_formatter)[ Packagist](https://packagist.org/packages/gpxcat/laravel_log_formatter)[ RSS](/packages/gpxcat-laravel-log-formatter/feed)WikiDiscussions main Synced today

READMEChangelog (6)DependenciesVersions (7)Used By (0)

gpxcat's laravel\_log\_formatter
================================

[](#gpxcats-laravel_log_formatter)

Add the `.env` file:

```
LOG_CHANNEL=stack
GRAYLOG_URL=10.1.6.38
GRAYLOG_PORT=12201
IFCONFIG_URL=http://10.1.1.188:8080/ip

```

Add the config to your `config/logging.php` file:

```
'stack' => [
    'driver' => 'stack',
    'channels' => ['daily', 'graylog'],
    'ignore_exceptions' => true,
    // ...
],
```

```
'daily' => [
    'driver' => 'daily',
    // ...
    'tap' => [\Gpxcat\LaravelLogFormatter\Formatter::class],
    // ...
],
```

```
'graylog' => [
    'driver' => 'custom',
    'via' => \Gpxcat\LaravelLogFormatter\GraylogLogger::class,
    'host' => env('GRAYLOG_URL', ''),
    'port' => env('GRAYLOG_PORT', ''),
    'level' => env('LOG_LEVEL', 'debug'),
],
```

###  Health Score

26

—

LowBetter than 41% 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 ~126 days

Recently: every ~91 days

Total

6

Last Release

897d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/gpxcat-laravel-log-formatter/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M276](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M343](/packages/open-telemetry-sdk)

PHPackages © 2026

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