PHPackages                             consultnn/yii2-stream-target - 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. consultnn/yii2-stream-target

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

consultnn/yii2-stream-target
============================

Yii2 log target for php stream wrappers, like php://stdout

1.0(10y ago)03.0kMITPHP

Since Oct 6Pushed 10y ago11 watchersCompare

[ Source](https://github.com/consultnn/yii2-stream-target)[ Packagist](https://packagist.org/packages/consultnn/yii2-stream-target)[ RSS](/packages/consultnn-yii2-stream-target/feed)WikiDiscussions master Synced 3d ago

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

Yii2 StreamTarget
=================

[](#yii2-streamtarget)

StreamTarget sends log messages to the [php stream wrappers](http://php.net/manual/ru/wrappers.php).

Converts an arrays and objects to strings using Json::encode().

Example config:
===============

[](#example-config)

```
    [
        'targets' => [
            [
                'class'   => 'consultnn\streamTarget\StreamTarget',
                'levels'  => ['error', 'warning'],
                'stream' => 'php://stderr',
                'except' => ['yii\web\HttpException:404']
            ],
            [
                'class'   => 'consultnn\streamTarget\StreamTarget',
                'levels'  => ['info'],
                'stream' => 'php://stdout',
            ]
        ]
    ]
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~63 days

Total

3

Last Release

3798d ago

Major Versions

0.1.1 → 1.02016-02-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/6559f1e755ff5770d012bdedb22e589553caabaf3a78eadfa944d832ce16eef2?d=identicon)[sokrat](/maintainers/sokrat)

---

Top Contributors

[![sokrat](https://avatars.githubusercontent.com/u/427543?v=4)](https://github.com/sokrat "sokrat (7 commits)")[![serieznyi](https://avatars.githubusercontent.com/u/2323142?v=4)](https://github.com/serieznyi "serieznyi (1 commits)")

---

Tags

stream-targetyii2logstreamyii2stdoutstderr

### Embed Badge

![Health badge](/badges/consultnn-yii2-stream-target/health.svg)

```
[![Health](https://phpackages.com/badges/consultnn-yii2-stream-target/health.svg)](https://phpackages.com/packages/consultnn-yii2-stream-target)
```

###  Alternatives

[codemix/yii2-streamlog

A Yii 2 log target for streams in URL format

531.5M6](/packages/codemix-yii2-streamlog)[lav45/yii2-activity-logger

Tools to store user activity log for Yii2

3460.8k](/packages/lav45-yii2-activity-logger)

PHPackages © 2026

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