PHPackages                             zen-studio/line-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. zen-studio/line-formatter

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

zen-studio/line-formatter
=========================

解决Hyperf框架Log类出现Over 9 levels deep, aborting normalization的问题

1.0.0(3y ago)181MITPHPPHP &gt;=7.3

Since Jul 11Pushed 3y ago1 watchersCompare

[ Source](https://github.com/zenghaitao/line-formatter)[ Packagist](https://packagist.org/packages/zen-studio/line-formatter)[ RSS](/packages/zen-studio-line-formatter/feed)WikiDiscussions master Synced 1mo ago

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

composer
========

[](#composer)

```
composer require zen-studio/line-formatter

```

\#Config 默认最大深度调整为20层，可在config文件里自定义日志josn的最大深度

config/autoload/logger.php

```
'formatter' => [
            'constructor' => [
                'maxNormalizeDepth' => 20,
            ],
        ],

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

1404d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

phploggerhyperfOver 9 levels deep

### Embed Badge

![Health badge](/badges/zen-studio-line-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/zen-studio-line-formatter/health.svg)](https://phpackages.com/packages/zen-studio-line-formatter)
```

###  Alternatives

[justbetter/magento2-sentry

Magento 2 Logger for Sentry

1851.5M3](/packages/justbetter-magento2-sentry)[opengento/module-webapi-logger

This module allows you to analyze all the webapi rest done call toward your Magento.

1014.9k](/packages/opengento-module-webapi-logger)

PHPackages © 2026

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