PHPackages                             tianjiuapp/php-logger - 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. tianjiuapp/php-logger

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

tianjiuapp/php-logger
=====================

基于PHP的日志记录器 / This is PHP based logger

v1.2.6(1y ago)19MITPHPPHP &gt;=8.2

Since Feb 9Pushed 1y agoCompare

[ Source](https://github.com/TianjiuApp/PHPLogger)[ Packagist](https://packagist.org/packages/tianjiuapp/php-logger)[ Docs](https://github.com/TianjiuApp/PHPLogger)[ RSS](/packages/tianjiuapp-php-logger/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (1)Versions (8)Used By (0)

PHPLogger
=========

[](#phplogger)

 [ ![LICENSE](https://camo.githubusercontent.com/891419a00e04aa0e311068fa8a04eec92cab4f7026c76278279bf2a1da50e578/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d6c69676874677265792e737667) ](LICENSE) [ ![](https://camo.githubusercontent.com/ac797b9698c7a691adec9bc29013eff70e9a1d8a6ec23dc96066a949c4e279eb/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f417574686f722d5469616e6a69754170702532305465616d2d626c75652e737667) ](https://github.com/TianjiuApp "点击访问") [ ![](https://camo.githubusercontent.com/cafa61685cb189ad142dbb72eefcbfd094cad9f0fe618fd01ca29ebf8809f196/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f526561646d652de4b8ade696872d677265656e2e737667) ](https://github.com/TianjiuApp/PHPLogger/blob/master/README-zh.md "点击访问")

 **👉 This is PHP based logger 👈**

🎨 About me
----------

[](#-about-me)

PHPLogger is a PHP based logging tool , it that can ......

1. Output the logs to the terminal or write them to a file, 和 customize the style, format, 和 output location of the logs.
2. In the terminal, logs at all levels are colored accordingly. In addition, you can customize the color for each level.
3. It provides multiple log levels, making it convenient for you to record different types of information according to your needs.

💽 Usage method
--------------

[](#-usage-method)

Please see [wiki](https://github.com/TianjiuApp/PHPLogger/wiki)

🐞 Bug feedback &amp; contributed code
-------------------------------------

[](#-bug-feedback--contributed-code)

If you encounter any problems during use, please [initiate issues](https://github.com/TianjiuApp/PHPLogger/issues) Provide feedback.

If you are willing to help us make PHPLogger better, please submit a pull request to us.

⭐ Seeking Star
--------------

[](#-seeking-star)

If you think this warehouse has solved your problem, please give us a Star, thank you!

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance42

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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 ~6 days

Total

7

Last Release

476d ago

PHP version history (3 changes)v1.2.0PHP &gt;=8.3

v1.2.2PHP &gt;=8.0

v1.2.5PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/153966900?v=4)[布丁小才](/maintainers/budingxiaocai)[@budingxiaocai](https://github.com/budingxiaocai)

---

Top Contributors

[![budingxiaocai](https://avatars.githubusercontent.com/u/153966900?v=4)](https://github.com/budingxiaocai "budingxiaocai (36 commits)")

---

Tags

ansilogloggerphplogphploggeransi

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tianjiuapp-php-logger/health.svg)

```
[![Health](https://phpackages.com/badges/tianjiuapp-php-logger/health.svg)](https://phpackages.com/packages/tianjiuapp-php-logger)
```

###  Alternatives

[logtail/monolog-logtail

Logtail handler for Monolog

243.6M3](/packages/logtail-monolog-logtail)[opengento/module-webapi-logger

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

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

PHPackages © 2026

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