PHPackages                             dcrphp/log - 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. dcrphp/log

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

dcrphp/log
==========

日志类

1.0.3(5y ago)01.1k2MITPHPPHP ^7.0

Since Jun 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/dcrphp/log)[ Packagist](https://packagist.org/packages/dcrphp/log)[ RSS](/packages/dcrphp-log/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (7)Dependencies (3)Versions (9)Used By (2)

DcrPHP/Log日志类
=============

[](#dcrphplog日志类)

1、安装
----

[](#1安装)

 composer require dcrphp/log

2、案例
----

[](#2案例)

 cd example php index.php

3、说明
----

[](#3说明)

 1、用户日志：用户的操作等,只支持mongodb,如果想用用户日志，请在config里配置好mongodb的配置
 2、系统日志：系统自动执行的计划任务、系统自动执行的日志等
 3、如果配置里有handler配置，则会添加handler，如果没有配置可以额外添加addHandler

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 89.3% 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 ~24 days

Recently: every ~41 days

Total

8

Last Release

2002d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5a3b371e27394bd968db9fe1df3d767971f67df3b9fc34aa18273da2792b7e3d?d=identicon)[dcrphp](/maintainers/dcrphp)

---

Top Contributors

[![junqing124](https://avatars.githubusercontent.com/u/6613893?v=4)](https://github.com/junqing124 "junqing124 (25 commits)")[![dcrphp](https://avatars.githubusercontent.com/u/65381497?v=4)](https://github.com/dcrphp "dcrphp (3 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dcrphp-log/health.svg)

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

###  Alternatives

[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k189.7M258](/packages/symfony-monolog-bridge)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[illuminate/log

The Illuminate Log package.

6224.3M518](/packages/illuminate-log)[honeybadger-io/honeybadger-php

Honeybadger PHP library

381.5M4](/packages/honeybadger-io-honeybadger-php)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2382.6k](/packages/graycore-magento2-stdlogging)

PHPackages © 2026

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