PHPackages                             iamgold/yii2fluentd - 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. iamgold/yii2fluentd

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

iamgold/yii2fluentd
===================

This is a lightweight client library of fluentd

1.0.0(8y ago)0152PHPPHP &gt;=5.4.0

Since Mar 28Pushed 8y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (4)Used By (0)

Fluentd Client for Yii2
=======================

[](#fluentd-client-for-yii2)

This is a lightweight client library of fluentd. It be a component in Yii2.

Config setting
--------------

[](#config-setting)

Injected the code belows into config file of web.php or console.php

```
    'fluentd' => [
        'class' => 'iamgold\yii2fluentd\Fluentd',
        'endpoint' => [endpoint of fluentd http server]
    ]
```

Usage
-----

[](#usage)

```
    Yii::$app->fluentd->send($tag, $params);
```

Methods
-------

[](#methods)

```
    /**
     * send message
     *
     * @param string $tag
     * @param array $params
     * @return ResponseInterface
     */
    public function send(string $tag, array $params)

```

ResponseInterface Methods
-------------------------

[](#responseinterface-methods)

```
    /**
     * is success
     *
     * @return bool
     */
    public function isSuccess();

    /**
     * get status code
     *
     * @return int
     */
    public function getStatusCode();

    /**
     * get error message
     *
     * @return string
     */
    public function getErrorMessage();
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

2964d ago

Major Versions

0.8.0 → 1.0.02018-03-28

### Community

Maintainers

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

### Embed Badge

![Health badge](/badges/iamgold-yii2fluentd/health.svg)

```
[![Health](https://phpackages.com/badges/iamgold-yii2fluentd/health.svg)](https://phpackages.com/packages/iamgold-yii2fluentd)
```

###  Alternatives

[bedezign/yii2-audit

Yii2 Audit records and displays web/cli requests, database changes, php/js errors and associated data.

201657.4k4](/packages/bedezign-yii2-audit)

PHPackages © 2026

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