PHPackages                             lunatic/monolog-bunyan-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. lunatic/monolog-bunyan-formatter

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

lunatic/monolog-bunyan-formatter
================================

Bunyan Formatter for Monolog

0.1(10y ago)216.4k↓50%MITPHPPHP &gt;=5.3.0

Since Feb 19Pushed 10y agoCompare

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

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

Bunyan Formatter for Monolog [![Build Status](https://camo.githubusercontent.com/03b8ce8d7c6d27385cad76b52e4cec5e9b6e751e628478feba51150152a52282/68747470733a2f2f7472617669732d63692e6f72672f4c756e617469633636362f6d6f6e6f6c6f672d62756e79616e2d666f726d61747465722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Lunatic666/monolog-bunyan-formatter)
=====================================================================================================================================================================================================================================================================================================================================================================

[](#bunyan-formatter-for-monolog-)

About
-----

[](#about)

The Bunyan formatter was ported from the [Punyan](https://github.com/zalora/punyan) project to support projects which already started with Monolog

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

[](#requirements)

- > = PHP 5.3
- Composer

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

[](#installation)

`composer require lunatic/monolog-bunyan-formatter`

Usage
-----

[](#usage)

```
use Monolog\Logger;
use Monolog\Handler\StreamHandler;
use Lunatic666\Monolog\Formatter\BunyanFormatter;

$log = new Logger('demo');
$handler = new StreamHandler('php://stdout', Logger::INFO);
$handler->setFormatter(new BunyanFormatter());
$log->pushHandler($handler);

$log->info('Hello, Mr. Bunyan', array('link' => 'https://en.wikipedia.org/wiki/Paul_Bunyan'));
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3736d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/606732d8f57f3600c5036890e4dd0cdeb2bda329f08318d8ed73716d9659d31e?d=identicon)[Lunatic666](/maintainers/Lunatic666)

---

Top Contributors

[![wolframite](https://avatars.githubusercontent.com/u/4621988?v=4)](https://github.com/wolframite "wolframite (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lunatic-monolog-bunyan-formatter/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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