PHPackages                             fly-cms/async-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. fly-cms/async-log

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

fly-cms/async-log
=================

Webman plugin fly-cms/async-log

v1.0.1(3y ago)011MITPHP

Since Mar 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/settime/async-log)[ Packagist](https://packagist.org/packages/fly-cms/async-log)[ RSS](/packages/fly-cms-async-log/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)Used By (0)

\#async-log 基于webman的异步日志写入组件

概述
--

[](#概述)

基于 **webman** 的异步日志写入组件

注意事项
----

[](#注意事项)

不保证日志100%不丢失,不保证日志100%不丢失,不保证日志100%不丢失. 重要数据千万别拿这个来用

安装

```
composer require fly-cms/async-log
```

配置

```
return [
    'enable' => true,
    'register_address' => 'text://127.0.0.1:8770',//client连接地址
    'token' => '',// 连接校验密码
    "model_set" =>[
        'request_log' => \app\model\log\RequestLogModel::class,
        'user_log' => \app\admin\controller\log\UserLog::class,
        'admin_log' => \app\model\log\AdminLogModel::class,
    ]
];
```

使用 send方法接受两个参数,key对应上面model\_set里面的数组key,第二个参数是一个数组,需要写入mysql的数组数据

```
\FlyCms\AsyncLog\LogClient::send('request_log',[]);
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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

1209d ago

### Community

Maintainers

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

---

Top Contributors

[![banlancegit](https://avatars.githubusercontent.com/u/32864986?v=4)](https://github.com/banlancegit "banlancegit (3 commits)")

### Embed Badge

![Health badge](/badges/fly-cms-async-log/health.svg)

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

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