PHPackages                             luoxiaojun1992/monolog-co-stream-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. luoxiaojun1992/monolog-co-stream-handler

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

luoxiaojun1992/monolog-co-stream-handler
========================================

Monolog Coroutine Stream Handler

v1.0.19(4y ago)06.0k1proprietaryPHP

Since Jul 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/luoxiaojun1992/monolog-co-stream-handler)[ Packagist](https://packagist.org/packages/luoxiaojun1992/monolog-co-stream-handler)[ RSS](/packages/luoxiaojun1992-monolog-co-stream-handler/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (2)Versions (20)Used By (1)

monolog-co-stream-handler
=========================

[](#monolog-co-stream-handler)

[![Build Status](https://camo.githubusercontent.com/151c01ec318a9e564b15a537c864544921bc66f6737cbe3e558acc0bbab2aa08/68747470733a2f2f7472617669732d63692e6f72672f6c756f7869616f6a756e313939322f6d6f6e6f6c6f672d636f2d73747265616d2d68616e646c65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/luoxiaojun1992/monolog-co-stream-handler)

中文版
---

[](#中文版)

### 描述

[](#描述)

Monolog coroutine stream handler based on swoole coroutine.

### 环境依赖

[](#环境依赖)

1. Swoole2.1.0+ (编译时请添加参数 --enable-openssl --enable-coroutine)
2. PHP7.1+
3. 勿同时安装opencensus扩展，经测试有内存泄漏问题

### 安装

[](#安装)

```
composer require "luoxiaojun1992/monolog-co-stream-handler:*"
```

或添加 requirement 到 composer.json

```
{
  "require": {
    "luoxiaojun1992/monolog-co-stream-handler": "*"
  }
}
```

### 使用示例

[](#使用示例)

请参考 tests/HandlerTests.php

English Version
---------------

[](#english-version)

### Description

[](#description)

Monolog coroutine stream handler based on swoole coroutine.

### Requirements

[](#requirements)

1. Swoole2.1.0+ (compile with arguments --enable-openssl --enable-coroutine)
2. PHP7.1+
3. Don't install opencensus extension to avoiding memory leak.

### Installation

[](#installation)

```
composer require "luoxiaojun1992/monolog-co-stream-handler:*"
```

or add a requirement to composer.json

```
{
  "require": {
    "luoxiaojun1992/monolog-co-stream-handler": "*"
  }
}
```

### Usage

[](#usage)

Please see tests/HandlerTests.php.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity71

Established project with proven stability

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

Recently: every ~210 days

Total

19

Last Release

1601d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a9a7ab17addb5818306fe7052bf2fa4c5028284ab1e6c91c26894cf645cbf5f?d=identicon)[luoxiaojun1992](/maintainers/luoxiaojun1992)

---

Top Contributors

[![luoxiaojun1992](https://avatars.githubusercontent.com/u/6905700?v=4)](https://github.com/luoxiaojun1992 "luoxiaojun1992 (5 commits)")

### Embed Badge

![Health badge](/badges/luoxiaojun1992-monolog-co-stream-handler/health.svg)

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

###  Alternatives

[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k189.7M258](/packages/symfony-monolog-bridge)[honeybadger-io/honeybadger-laravel

Honeybadger Laravel integration

431.2M](/packages/honeybadger-io-honeybadger-laravel)[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)
