PHPackages                             riimu/accesslogstats - 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. riimu/accesslogstats

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

riimu/accesslogstats
====================

Access log parsing and statistics generation.

v0.1.0(12y ago)1111MITPHPPHP &gt;=5.4.0

Since Dec 11Pushed 12y ago2 watchersCompare

[ Source](https://github.com/Riimu/AccessLogStats)[ Packagist](https://packagist.org/packages/riimu/accesslogstats)[ RSS](/packages/riimu-accesslogstats/feed)WikiDiscussions master Synced 2d ago

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

Access Log Stats library
========================

[](#access-log-stats-library)

This library is intended for generating useful statistics from access logs commonly generated by server software such as apache. Currently this library has been written mostly for my own needs and purposes to provide me with the details I want to know. Thus, the code will not be well documented and it may not be fit for all general purposes.

Usage
-----

[](#usage)

The basic idea is to have the parser and supply it with reports that consist of filters and views. Filters are used to remove rows not relevant to that report and views determine what kind of information should be extracted from the row.

For example:

```
