PHPackages                             pulse00/monolog-parser - 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. pulse00/monolog-parser

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

pulse00/monolog-parser
======================

A parser for monolog log entries

0.0.3(11y ago)45323.2k↓37.5%32[5 issues](https://github.com/pulse00/monolog-parser/issues)[3 PRs](https://github.com/pulse00/monolog-parser/pulls)1MITPHP

Since Mar 16Pushed 6y ago3 watchersCompare

[ Source](https://github.com/pulse00/monolog-parser)[ Packagist](https://packagist.org/packages/pulse00/monolog-parser)[ RSS](/packages/pulse00-monolog-parser/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (2)Versions (4)Used By (1)

Monolog Parser
==============

[](#monolog-parser)

[![Build Status](https://camo.githubusercontent.com/81129544096807ab8ee853d4bf48984fe302235b1dc4afc9e242c5fe4c81deb7/68747470733a2f2f7472617669732d63692e6f72672f70756c736530302f6d6f6e6f6c6f672d7061727365722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pulse00/monolog-parser)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/6ce086d2dde5b6e19e60a287e10d2969a8233263b7e5716d6d307fe8a75b6663/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70756c736530302f6d6f6e6f6c6f672d7061727365722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/pulse00/monolog-parser/?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/3b4e358994d7230d388b87c8901c70cae663de9a781178e342a4cc8cdc18ef3d/68747470733a2f2f706f7365722e707567782e6f72672f70756c736530302f6d6f6e6f6c6f672d7061727365722f762f737461626c652e737667)](https://packagist.org/packages/pulse00/monolog-parser) [![Total Downloads](https://camo.githubusercontent.com/1fb8ada7d72737bec58cf8cdc2c6c3d243c6a7d20ba67b9bc706049cce2c0cb1/68747470733a2f2f706f7365722e707567782e6f72672f70756c736530302f6d6f6e6f6c6f672d7061727365722f646f776e6c6f6164732e737667)](https://packagist.org/packages/pulse00/monolog-parser) [![Latest Unstable Version](https://camo.githubusercontent.com/7d37f5ff3a91cf225e3e0606d025e330bfe542e8ff137a1f4ab845ccfc78e4d8/68747470733a2f2f706f7365722e707567782e6f72672f70756c736530302f6d6f6e6f6c6f672d7061727365722f762f756e737461626c652e737667)](https://packagist.org/packages/pulse00/monolog-parser) [![License](https://camo.githubusercontent.com/d977f4e5caf383177f34d916cc0da1552489e9b10fac6c3469318e1fd53a8fb3/68747470733a2f2f706f7365722e707567782e6f72672f70756c736530302f6d6f6e6f6c6f672d7061727365722f6c6963656e73652e737667)](https://packagist.org/packages/pulse00/monolog-parser)

A simple library for parsing [monolog](https://github.com/Seldaek/monolog) logfiles.

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

[](#installation)

You can install the library using composer by adding `pulse00/monolog-parser` to your `composer.json`.

Usage
-----

[](#usage)

```
require_once 'path/to/vendor/autoload.php';

use Dubture\Monolog\Reader\LogReader;

$logFile = '/path/to/some/monolog.log';
$reader = new LogReader($logFile);

foreach ($reader as $log) {
    echo sprintf("The log entry was written at %s. \n", $log['date']->format('Y-m-d h:i:s'));
}

$lastLine = $reader[count($reader)-1];
echo sprintf("The last log entry was written at %s. \n", $lastLine['date']->format('Y-m-d h:i:s'));
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community19

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~398 days

Total

3

Last Release

4061d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/410d88b323657243a2319b2254705cf2e0bf8f19c1bdebfc54c8b198aedade91?d=identicon)[pulse00](/maintainers/pulse00)

---

Top Contributors

[![pulse00](https://avatars.githubusercontent.com/u/185278?v=4)](https://github.com/pulse00 "pulse00 (15 commits)")[![therpr](https://avatars.githubusercontent.com/u/8452137?v=4)](https://github.com/therpr "therpr (2 commits)")[![Cangit](https://avatars.githubusercontent.com/u/1426157?v=4)](https://github.com/Cangit "Cangit (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pulse00-monolog-parser/health.svg)

```
[![Health](https://phpackages.com/badges/pulse00-monolog-parser/health.svg)](https://phpackages.com/packages/pulse00-monolog-parser)
```

###  Alternatives

[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k203.8M358](/packages/symfony-monolog-bridge)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[illuminate/log

The Illuminate Log package.

6225.3M623](/packages/illuminate-log)[spatie/flare-client-php

Send PHP errors to Flare

177161.5M23](/packages/spatie-flare-client-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

2587.9k](/packages/graycore-magento2-stdlogging)

PHPackages © 2026

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