PHPackages                             cblink/monolog-handler - 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. cblink/monolog-handler

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

cblink/monolog-handler
======================

monolog aliyun handler

v3.0.0(4y ago)013.3kMITPHPPHP &gt;=7.2CI failing

Since Mar 26Pushed 4y ago1 watchersCompare

[ Source](https://github.com/cblink/monolog-handler)[ Packagist](https://packagist.org/packages/cblink/monolog-handler)[ RSS](/packages/cblink-monolog-handler/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (3)Versions (11)Used By (0)

monolog handler
---------------

[](#monolog-handler)

#### 安装

[](#安装)

`composer require cblink/monolog-handler`

#### 支持的Handler列表

[](#支持的handler列表)

- 阿里云log

#### 在laravel框架中使用

[](#在laravel框架中使用)

1. laravel 版本号大于 5.7+
2. 修改项目中 `app/logging.php`文件，`channels`中添加`aliyun driver`，示例如下

```
// 将
return [
    // ...
    'channels' => [
        //...

        // 添加此项
        'aliyun-log' => [
            'driver' => 'monolog',
            'level' => 'debug',
            'handler' => Cblink\Monolog\Handler\AliyunLogHandler::class,
            'handler_with' => [
                'access_id' =>  '阿里云控制台access_key_id',
                'access_key' => '阿里云控制台access_key_secret',
                'endpoint' => 'cn-shenzhen',    // 节点，无需填写 log.aliyuncs.com
                'projectName' => 'laravel-project',     // 日志服务中的项目名称
                'logName' => 'service-wechat'       // 日志名称
            ]
        ],
    ]
];
```

2. 修改`.env`配置文件`LOG_CHANNEL`值为`aliyun-log`

```
LOG_CHANNEL=aliyun-log
```

#### 其他使用

[](#其他使用)

。

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Recently: every ~113 days

Total

10

Last Release

1820d ago

Major Versions

v1.0.0 → 2.x-dev2020-04-02

v2.1.2 → v3.0.02021-07-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a33f3d22f7c5ba81df984215eda327fe21f224f59a8a8cb404138042ec9f788?d=identicon)[overnic](/maintainers/overnic)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cblink-monolog-handler/health.svg)

```
[![Health](https://phpackages.com/badges/cblink-monolog-handler/health.svg)](https://phpackages.com/packages/cblink-monolog-handler)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[spatie/flare-client-php

Send PHP errors to Flare

177161.5M23](/packages/spatie-flare-client-php)[pantheon-systems/terminus

A command line interface for Pantheon

3391.5M18](/packages/pantheon-systems-terminus)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)

PHPackages © 2026

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