PHPackages                             rppet/dds\_centralized\_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. rppet/dds\_centralized\_log

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

rppet/dds\_centralized\_log
===========================

Centralized access log processing analysis

1.1.1(3y ago)1621PHPPHP &gt;=7.1

Since Nov 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rppet/dds_centralized_log)[ Packagist](https://packagist.org/packages/rppet/dds_centralized_log)[ RSS](/packages/rppet-dds-centralized-log/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

centralized\_log
================

[](#centralized_log)

Laravel Centralized access log

安装
--

[](#安装)

```
"dds_centralized_log": {
  "type": "git",
  "url": "https://github.com/rppet/dds_centralized_log.git"
}

composer require rppet/dds_centralized_log:dev-master

```

示例代码
----

[](#示例代码)

```
$logServer = new Log();
// 获取分表表名前缀
$subTablePrefix = config('centralized_log.table_name');
// logModel
$logModel = new LogModel($subTablePrefix, config('centralized_log.type'));
// 获取完整的表名
$tableName = $logModel->getTable();

// 如果分表不存在则新建表
if (!$logServer->checkTableIsExists($tableName)){
    $logServer->createTable($tableName);
}

//添加日志记录
$logResult = $logServer->addLog($tableName, $data);

```

发布配置文件
------

[](#发布配置文件)

```
php artisan vendor:publish --provider="Hanuas\CentralizedLog\ServiceProvider"

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.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 ~68 days

Total

4

Last Release

1426d ago

### Community

Maintainers

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

---

Top Contributors

[![hanuas](https://avatars.githubusercontent.com/u/29448075?v=4)](https://github.com/hanuas "hanuas (20 commits)")[![mfylee](https://avatars.githubusercontent.com/u/536974?v=4)](https://github.com/mfylee "mfylee (4 commits)")

### Embed Badge

![Health badge](/badges/rppet-dds-centralized-log/health.svg)

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

###  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)
