PHPackages                             neam/yii-streamlog - 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. neam/yii-streamlog

ActiveYii-extension[Logging &amp; Monitoring](/categories/logging)

neam/yii-streamlog
==================

Send Yii 1 logs to stdout/stderr - created to be used with the php-fpm/nginx Docker stack available at http://github.com/neam/docker-stack

1.0.1(11y ago)494.4k—8.8%1BSD-3-ClausePHP

Since Mar 11Pushed 11y agoCompare

[ Source](https://github.com/neam/yii-streamlog)[ Packagist](https://packagist.org/packages/neam/yii-streamlog)[ Docs](https://github.com/neam/yii-streamlog)[ RSS](/packages/neam-yii-streamlog/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Yii 1 Streamlog
===============

[](#yii-1-streamlog)

Send Yii 1 logs to stdout/stderr - created to be used with the php-fpm/nginx Docker stack available at http://github.com/neam/docker-stack

Thanks to Haensel for [this forum post](http://www.yiiframework.com/forum/index.php/topic/30484-yii-log-to-console-stdout/page__view__findpost__p__146923)!

Installation
------------

[](#installation)

Install via composer:

```
composer require neam/yii-streamlog:*

```

Or download the extension, copy the `src` folder to your project and make sure to require the file `LogRoute.php` at some stage of application initiation.

Usage
-----

[](#usage)

Change all your existing routes that use CFileLogRoute to instead use \\neam\\yii\_streamlog\\LogRoute:

```
'components' => array(
    'log' => array(
        'class' => 'CLogRouter',
        'routes' => array(
            array(
                'class' => '\neam\yii_streamlog\LogRoute',
                'levels' => 'error, warning',
            ),
        ),
    ),
),

```

Also, make sure to [set `catch_worker_output=yes` in your php-fpm pool config](https://github.com/neam/docker-stack/blob/b007920bcdf862570218e1fb0e855df44a6c51f7/stacks/php-nginx-memcache/boilerplate/stack/php/pool.d/www.conf#L17-L18).

Links
-----

[](#links)

- [Docker Stack Project](http://github.com/neam/docker-stack)
- [GitHub](https://github.com/neam/yii-streamlog)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

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

Total

2

Last Release

4086d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

logphp-fpmstackdockeryiistdoutstderr

### Embed Badge

![Health badge](/badges/neam-yii-streamlog/health.svg)

```
[![Health](https://phpackages.com/badges/neam-yii-streamlog/health.svg)](https://phpackages.com/packages/neam-yii-streamlog)
```

###  Alternatives

[analog/analog

Fast, flexible, easy PSR-3-compatible PHP logging package with dozens of handlers.

3451.5M24](/packages/analog-analog)[samdark/yii2-psr-log-target

Yii 2 log target which uses PSR-3 compatible logger

841.8M10](/packages/samdark-yii2-psr-log-target)[codemix/yii2-streamlog

A Yii 2 log target for streams in URL format

531.4M6](/packages/codemix-yii2-streamlog)[baibaratsky/yii2-rollbar

Rollbar for Yii2

35130.5k](/packages/baibaratsky-yii2-rollbar)[crisu83/yii-sentry

Sentry for the Yii PHP framework.

1110.8k](/packages/crisu83-yii-sentry)

PHPackages © 2026

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