PHPackages                             aoyagikouhei/fluent-accesslog - 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/fluent-accesslog

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

aoyagikouhei/fluent-accesslog
=============================

fluent accesslog

0.0.2(12y ago)0103MITPHP

Since Apr 20Pushed 12y ago1 watchersCompare

[ Source](https://github.com/aoyagikouhei/fluent-accesslog)[ Packagist](https://packagist.org/packages/aoyagikouhei/fluent-accesslog)[ Docs](https://github.com/aoyagikouhei/fluent-accesslog)[ RSS](/packages/aoyagikouhei-fluent-accesslog/feed)WikiDiscussions master Synced 4w ago

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

fluent-accesslog
================

[](#fluent-accesslog)

This is a access logger for fluentd. This access log contain with a part of $\_REQUEST AND $\_SERVER.

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

[](#installation)

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

```
{
  "require": {
    "aoyagikouhei/fluent-accesslog": "0.0.*"
  }
}
```

And install using composer:

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

Use
---

[](#use)

```
$log = new \Fluent\Accesslog(array('host' => 'localhost'));
$log->add();
$log->add(array('param1' => 'abc'));
$log->add(array('param1' => 'abc'), 'prefix', 'postfix');
```

Options
-------

[](#options)

host : host name, default 'localhost'

port : port, default '24224'

tag : fluent tag name, default 'accesslog'

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

error\_handler : when call error, default stderr

mask : $\_REQUEST masking key ary

mask\_value : use making value

remove : $\_REQUEST removing key ary

server : is hash. key is $\_SERVER key. value is store key.

Example
-------

[](#example)

```
$log = new \Fluent\Accesslog(array(
    'tag' => 'mongo.accesslog'
    ,'tag_with_date' => 'Ym'
    ,'mask' => ['password']
    ,'server' => ['REMOTE_ADDR' => 'i']
));
$log->add(array('id' => $_SESSION['member_id']));
```

ChangeLog
---------

[](#changelog)

2013-04-20 0.0.1 first release

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

4716d 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 (5 commits)")

---

Tags

logfluent

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[monolog/monolog

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

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

Common interface for logging libraries

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

Symfony MonologBundle

2.9k262.9M1.8k](/packages/symfony-monolog-bundle)[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.9k52.9M450](/packages/spatie-laravel-activitylog)[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k240.0M317](/packages/sentry-sentry)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k122.6M188](/packages/sentry-sentry-laravel)

PHPackages © 2026

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