PHPackages                             bilberrry/yii2-fluentd - 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. bilberrry/yii2-fluentd

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

bilberrry/yii2-fluentd
======================

Logging with Fluentd for Yii2

0.1.1(10y ago)93.5kMITPHPPHP &gt;=5.4.0

Since Apr 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/bilberrry-packages/yii2-fluentd)[ Packagist](https://packagist.org/packages/bilberrry/yii2-fluentd)[ Docs](https://github.com/bilberrry/yii2-fluentd)[ RSS](/packages/bilberrry-yii2-fluentd/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

yii2-fluentd
============

[](#yii2-fluentd)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/abf02c41a168d9ee38b5bdc323197bb08e7cab219722dd05733adda0f1468e4f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62696c6265727272792f796969322d666c75656e74642f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bilberrry/yii2-fluentd/?branch=master) [![Packagist](https://camo.githubusercontent.com/9d0e402f630cc43d95819ebfa36e8fade964212b62ece15b6af976dc5e31fdb9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62696c6265727272792f796969322d666c75656e74642e737667)](https://packagist.org/packages/bilberrry/yii2-fluentd) [![Packagist](https://camo.githubusercontent.com/e1cbb1414839ff7a3cef37d3e1c0da67f5865a50ea7e48a0a4a0730d74d75c3d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62696c6265727272792f796969322d666c75656e74642e737667)](https://packagist.org/packages/bilberrry/yii2-fluentd) [![GitHub license](https://camo.githubusercontent.com/f63201b1c7aae28aac8bcab1098f7fbe6ad88e6c887d3d2e0b7960c02af56a24/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f62696c6265727272792f796969322d666c75656e74642e737667)](https://github.com/bilberrry/yii2-fluentd)

Logging with Fluentd for Yii2

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

[](#installation)

You can install this extension with [composer](http://getcomposer.org/).

```
composer require bilberrry/yii2-fluentd
```

or add to `composer.json`

```
"bilberrry/yii2-fluentd": "0.1"
```

Usage
-----

[](#usage)

Add new log target to your configuration file.

##### Example configuration

[](#example-configuration)

```
...
'components' => [
    'log' => [
        'traceLevel' => YII_DEBUG ? 3 : 0,
        'targets' => [
            [
                'class' => 'bilberrry\log\FluentdTarget',
                'levels' => ['error', 'warning'], // Log levels
                'host' => 'localhost', // Fluentd host
                'port' => '24224', // Fluentd port
                'options' => [], // Options for Fluentd client
                'tagFormat' => 'app.%level' // Tag format, available placeholders: %date, %timestamp, %level
            ],
        ],
    ],
...
```

For options list check this [source code](https://github.com/fluent/fluent-logger-php/blob/master/src/FluentLogger.php#L67).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

3689d ago

### Community

Maintainers

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

---

Tags

fluentdpackagistyii2logyii2fluentd

### Embed Badge

![Health badge](/badges/bilberrry-yii2-fluentd/health.svg)

```
[![Health](https://phpackages.com/badges/bilberrry-yii2-fluentd/health.svg)](https://phpackages.com/packages/bilberrry-yii2-fluentd)
```

###  Alternatives

[dakatsuka/monolog-fluent-handler

Fluentd Handler for Monolog

12480.5k](/packages/dakatsuka-monolog-fluent-handler)[lav45/yii2-activity-logger

Tools to store user activity log for Yii2

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

PHPackages © 2026

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