PHPackages                             twistersfury/monolog-helpers - 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. twistersfury/monolog-helpers

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

twistersfury/monolog-helpers
============================

Adds Some Common Utility Helpers To Monolog

v1.0.5(8y ago)05501MITPHPPHP ^7.0

Since Sep 12Pushed 8y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (3)Versions (7)Used By (0)

Monolog Helpers
===============

[](#monolog-helpers)

This repo contains various helpers for use with monolog. For use with PHP 7.0 and Monolog 2.0.

[![Build Status](https://camo.githubusercontent.com/5311ad8bd13117b9e8bc9ccb2914c261d7249cd8c295cb325e0ed5bc981ce4ec/68747470733a2f2f7472617669732d63692e6f72672f7477697374657273667572792f6d6f6e6f6c6f672d68656c706572732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/twistersfury/monolog-helpers)

Processors
----------

[](#processors)

#### GlobalsProcessor

[](#globalsprocessor)

Creates a new record entry of 'php\_globals'. This record will include all (or specified) $\_ global variables in the current execution. Useful for debugging.

**All Globals**

```
use TwistersFury\Monolog\Processors\GlobalsProcessor;
$processor = new GlobalsProcessor();
```

**Specified Globals**

```
use TwistersFury\Monolog\Processors\GlobalsProcessor;
$processor = new GlobalsProcessor(
    [
        'post'    => true,
        'get'     => false,
        'request' => false,
        'server'  => true
    ]
);
```

#### BacktraceProcessor

[](#backtraceprocessor)

Creates a new record entry of 'trace'. This record will include the stack trace. It will automatically exclude the most recent entries to ensure you don't get additional useless stack information. This exclusion is controllable on the construct.

**Without Skip**

```
use TwistersFury\Monolog\Processors\BacktraceProcessor;

$processor = new BacktraceProcessor();
```

**With Skip**

```
use TwistersFury\Monolog\Processors\BacktraceProcessor;

//The five most recent stacks will be ignored.
$processor = new BacktraceProcessor(5);
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~50 days

Total

6

Last Release

3010d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5033618?v=4)[Fenikkusu](/maintainers/Fenikkusu)[@Fenikkusu](https://github.com/Fenikkusu)

---

Top Contributors

[![Fenikkusu](https://avatars.githubusercontent.com/u/5033618?v=4)](https://github.com/Fenikkusu "Fenikkusu (12 commits)")

---

Tags

helpermonologpostglobals

###  Code Quality

TestsCodeception

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/twistersfury-monolog-helpers/health.svg)

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

###  Alternatives

[maxbanton/cwh

AWS CloudWatch Handler for Monolog library

42515.7M33](/packages/maxbanton-cwh)[naoray/laravel-github-monolog

Log driver to store logs as github issues

10822.5k](/packages/naoray-laravel-github-monolog)[jacklul/monolog-telegram

Monolog handler that sends logs through Telegram bot to any chat in HTML format

2469.4k2](/packages/jacklul-monolog-telegram)[alexandre-daubois/monolog-processor-collection

A collection of Monolog processors

1316.8k](/packages/alexandre-daubois-monolog-processor-collection)

PHPackages © 2026

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