PHPackages                             kristuff/parselog - 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. kristuff/parselog

ActiveLibrary

kristuff/parselog
=================

Parse log library

v0.8(4y ago)167MITPHPPHP &gt;=7.1

Since Aug 15Pushed 4y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (1)Versions (13)Used By (0)

Parselog
========

[](#parselog)

> based on [kassner/log-parser](https://github.com/kassner/log-parser) primarily designed to parse web access logs, **Parselog** extends to other logs like apache error, syslog, fail2ban, MariaDB error ... *(in progress)*

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/22067c13a6d70a3942dcb7ae0e4a4f8d26d5ba035b26ab6aa0c3608a0354aa11/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6b726973747566662f70617273656c6f672f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/kristuff/parselog/?branch=master)[![Build Status](https://camo.githubusercontent.com/b1bd5d15dea8b0f33f33ace44c8a58bd2e151c17f58a277154cfd3a05533d1c6/68747470733a2f2f6170702e7472617669732d63692e636f6d2f6b726973747566662f70617273656c6f672e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/kristuff/parselog)[![Latest Stable Version](https://camo.githubusercontent.com/35c0171b9918a864b2c795562f286eac6af7bb79a793237dba252d66e8817c34/68747470733a2f2f706f7365722e707567782e6f72672f6b726973747566662f70617273656c6f672f762f737461626c65)](https://packagist.org/packages/kristuff/parselog)[![License](https://camo.githubusercontent.com/253485838fa6639212e6194a320eb93ef4f044fc6d1e38ad26cb512f52145738/68747470733a2f2f706f7365722e707567782e6f72672f6b726973747566662f70617273656c6f672f6c6963656e7365)](https://packagist.org/packages/kristuff/parselog)

Features
========

[](#features)

- Generic customizable log parser
- Predefined software log parsers: ✓ `Apache Access`, ✓ `Apache Error`, ✓ `Fail2ban`, ✓ `Syslog`, ✓ `MariaDB Error`
- IPv4 &amp; IPv6 recognition patterns

Requirments
===========

[](#requirments)

- PHP &gt;= 7.1
- Composer (for install)

Install
=======

[](#install)

Deploy with composer:

```
...
"require": {
    "kristuff/abuseipdb": "^0.7.2-stable"
},

```

Resources
=========

[](#resources)

- [Api documentation](https://kristuff.fr/projects/parselog/doc)

License
=======

[](#license)

The MIT License (MIT)

Copyright (c) 2017-2021 Kristuff

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Recently: every ~21 days

Total

11

Last Release

1665d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/98e454c0db17733610dd2fadad69d354cd8adb82db4756cda39925275a2293b1?d=identicon)[Kristuff](/maintainers/Kristuff)

---

Top Contributors

[![kristuff](https://avatars.githubusercontent.com/u/16272398?v=4)](https://github.com/kristuff "kristuff (100 commits)")

---

Tags

apache2fail2banlog-paserphpsyslog

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kristuff-parselog/health.svg)

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

PHPackages © 2026

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