PHPackages                             aoyagikouhei/slim-fluent-logwriter - 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. aoyagikouhei/slim-fluent-logwriter

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

aoyagikouhei/slim-fluent-logwriter
==================================

slim fluent logwriter

0.0.4(13y ago)2174MITPHP

Since Feb 1Pushed 13y ago1 watchersCompare

[ Source](https://github.com/aoyagikouhei/slim-fluent-logwriter)[ Packagist](https://packagist.org/packages/aoyagikouhei/slim-fluent-logwriter)[ Docs](https://github.com/aoyagikouhei/slim-fluent-logwriter)[ RSS](/packages/aoyagikouhei-slim-fluent-logwriter/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (5)Used By (0)

slim-fluent-logwriter
=====================

[](#slim-fluent-logwriter)

A Fluentd log writter for Slim Framework. slim-fluent-logwriter require Slim 2.0+.

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

[](#installation)

Add `"aoyagikouhei/slim-fluent-logwriter"` to your `composer.json` file:

```
{
  "require": {
    "slim/slim": "2.2.*",
    "aoyagikouhei/slim-fluent-logwriter": "0.0.*"
  }
}
```

And install using composer:

```
$ php composer.phar install
```

Configuration
-------------

[](#configuration)

```
$writer = new \Slim\FluentLogwriter(array('host' => 'localhost'));
$app = new \Slim\Slim(array(
  'log.writer' => $writer,
));
```

Full options specified

```
$callable = function($logger, $entity, $error) {
    throw $error;
};
$writer = new \Slim\FluentLogwriter(array(
  'host' => 'localhost',
  'port' => '24224',
  'tag' => 'mongo.systemlog',
  'level' => \Slim\Log::INFO,
  'tag_with_date' => 'Ym',
  'error_handler' => $callable
));
$writer->addFluent(array(
  'host' => 'localhost',
  'port' => '24224',
  'tag' => 'mail.systemlog',
  'level' => \Slim\Log::WARN
));
$app = new \Slim\Slim(array(
  'log.writer' => $writer,
));
```

First Fluent Settings is to mongodb log.

Second Fluent Setting is to mail.

You can add more Fluent settings.

Options
-------

[](#options)

host : host name, default 'localhost'

port : port, default '24224'

tag : fluent tag name, default 'systemlog'

level : write log level, default \\Slim\\Log::DEBUG

tag\_with\_date : postfix date for tag by DateTime format, default none

error\_handler : when call error, default stderr

Copyright
---------

[](#copyright)

Copyright (c) 2013 [Kouhei Aoyagi](http://aoyagikouhei.blog8.fc2.com/).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Total

4

Last Release

4825d ago

### Community

Maintainers

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

---

Top Contributors

[![aoyagikouhei](https://avatars.githubusercontent.com/u/412321?v=4)](https://github.com/aoyagikouhei "aoyagikouhei (9 commits)")

---

Tags

logslimfluent

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aoyagikouhei-slim-fluent-logwriter/health.svg)

```
[![Health](https://phpackages.com/badges/aoyagikouhei-slim-fluent-logwriter/health.svg)](https://phpackages.com/packages/aoyagikouhei-slim-fluent-logwriter)
```

###  Alternatives

[monolog/monolog

Sends your logs to files, sockets, inboxes, databases and various web services

21.4k1.0B8.2k](/packages/monolog-monolog)[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[symfony/monolog-bundle

Symfony MonologBundle

2.9k262.9M1.8k](/packages/symfony-monolog-bundle)[itsgoingd/clockwork

php dev tools in your browser

5.9k29.7M118](/packages/itsgoingd-clockwork)[sentry/sdk

This is a meta package of sentry/sentry. We recommend using sentry/sentry directly.

327139.0M166](/packages/sentry-sdk)[ytake/laravel-fluent-logger

fluent logger for laravel and lumen

62551.4k1](/packages/ytake-laravel-fluent-logger)

PHPackages © 2026

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