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

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

devdot/monolog-parser
=====================

Parse Monolog logfiles

v1.6.1(4mo ago)617.2k↓29.4%1MITPHPPHP ^8.2CI passing

Since Feb 2Pushed 4mo ago1 watchersCompare

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

READMEChangelogDependencies (6)Versions (12)Used By (1)

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

[](#monolog-parser)

[![Test Automation](https://github.com/devdot/monolog-parser/actions/workflows/php.yml/badge.svg)](https://github.com/devdot/monolog-parser/actions/workflows/php.yml/badge.svg)

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

This library is compatible with **Monolog 2** and provides parse options for multiline logs and [Laravel](https://laravel.com/) logfiles.

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

[](#installation)

Install the library using [composer](https://getcomposer.org/):

```
composer require devdot/monolog-parser
```

Basic Usage
-----------

[](#basic-usage)

Example for parsing a logfile `test.log` using the default options:

```
