PHPackages                             azay/monolog-multiline-formatter - 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. azay/monolog-multiline-formatter

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

azay/monolog-multiline-formatter
================================

Multiline Formatter for Monolog

v1.0.4(2y ago)014MITPHPPHP &gt;=7.0

Since May 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/azay-ru/monolog-multiline-formatter)[ Packagist](https://packagist.org/packages/azay/monolog-multiline-formatter)[ RSS](/packages/azay-monolog-multiline-formatter/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (7)Used By (0)

Multiline Formatter for Monolog (beta)
======================================

[](#multiline-formatter-for-monolog-beta)

Requirements
------------

[](#requirements)

- PHP 7.1 or greater
- Monolog 2.9 or greater
- Json extension

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

[](#installation)

Installation is possible using Composer.

```
composer require azay/monolog-multiline-formatter
```

Usage
-----

[](#usage)

```
use Monolog\Logger;
use Monolog\Handler\StreamHandler;
use Azay\Monolog\Formatter\MultiLineFormatter;

$logger = new Logger('Multiline');
$handler = new StreamHandler('php://stdout', Logger::DEBUG);
$handler->setFormatter(
    new MultiLineFormatter()
);
$logger->pushHandler($handler);
```

### Example

[](#example)

```
...
$logger->info( 'Some event', [ 'first' => 'This is first value' ] );
...
$logger->info( 'Another event', [ 'a' => 'AAAA', 'b' => 'BBBB', 'XYZ', 1000, true ] );
...
```

### Output

[](#output)

```
2023-05-24T17:12:16+03:00 [INFO] Some event
first: This is first value

2023-05-24T17:12:16+03:00 [INFO] Another event
a: AAAA
b: BBBB
XYZ
1000
1

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

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

Total

5

Last Release

1072d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7815072?v=4)[Aleksey](/maintainers/azay-ru)[@azay-ru](https://github.com/azay-ru)

---

Tags

formattermonologformattermonolog

### Embed Badge

![Health badge](/badges/azay-monolog-multiline-formatter/health.svg)

```
[![Health](https://phpackages.com/badges/azay-monolog-multiline-formatter/health.svg)](https://phpackages.com/packages/azay-monolog-multiline-formatter)
```

###  Alternatives

[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)[naoray/laravel-github-monolog

Log driver to store logs as github issues

10823.1k](/packages/naoray-laravel-github-monolog)

PHPackages © 2026

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