PHPackages                             lukewaite/monolog-memory-usage-processor - 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. lukewaite/monolog-memory-usage-processor

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

lukewaite/monolog-memory-usage-processor
========================================

v1.0.0(8y ago)118.5k2[1 issues](https://github.com/lukewaite/monolog-memory-usage-processor/issues)[1 PRs](https://github.com/lukewaite/monolog-memory-usage-processor/pulls)MITPHP

Since Jan 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/lukewaite/monolog-memory-usage-processor)[ Packagist](https://packagist.org/packages/lukewaite/monolog-memory-usage-processor)[ RSS](/packages/lukewaite-monolog-memory-usage-processor/feed)WikiDiscussions master Synced 2mo ago

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

Monolog Memory Usage Processor
==============================

[](#monolog-memory-usage-processor)

[![Latest Version on Packagist](https://camo.githubusercontent.com/7540add161fc3f99c94e426faa19275f27ead309e53f382141880221b26ea20d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c756b6577616974652f6d6f6e6f6c6f672d6d656d6f72792d75736167652d70726f636573736f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lukewaite/monolog-memory-usage-processor)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/8e2f0a7960c7e2521e267bbb8cfd040a229432e8e8212e44b237c7fab9731b44/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6c756b6577616974652f6d6f6e6f6c6f672d6d656d6f72792d75736167652d70726f636573736f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/lukewaite/monolog-memory-usage-processor)[![Total Downloads](https://camo.githubusercontent.com/46343bc92c2dd2ec88c6fda5dced4855000afd8f138b0803bc38068026da1f53/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c756b6577616974652f6d6f6e6f6c6f672d6d656d6f72792d75736167652d70726f636573736f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/lukewaite/monolog-memory-usage-processor)[![Code Coverage](https://camo.githubusercontent.com/7319109bdfd0472ce0d38f5de7317cf7cdfe1535a7aef5cba5a9784b2d4408dd/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6c756b6577616974652f6d6f6e6f6c6f672d6d656d6f72792d75736167652d70726f636573736f722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/lukewaite/monolog-memory-usage-processor/?branch=master)

Usage
-----

[](#usage)

### Installing

[](#installing)

This package can be installed with composer.

```
$ composer require lukewaite/monolog-memory-usage-processor

```

### Using the Processor

[](#using-the-processor)

```
$memoryUsage = new MemoryUsageProcessor( true ); // Human formatted
$memoryUsage = new MemoryUsageProcessor( false ); // Not human formatted

```

### What is this package for?

[](#what-is-this-package-for)

The [Memory Usage processors provided by the base Monolog package](https://github.com/Seldaek/monolog/blob/master/src/Monolog/Processor/MemoryUsageProcessor.php) only give you the option to log with [`real_usage`](http://php.net/manual/en/function.memory-get-usage.php) set to true or false. I have a need for both.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

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

Unknown

Total

1

Last Release

3047d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/134ccfc3c0d62a251b2df558f57ac2ebc918d45bc95235acd2b60ba7f251bad1?d=identicon)[lukewaite](/maintainers/lukewaite)

---

Top Contributors

[![lukewaite](https://avatars.githubusercontent.com/u/618130?v=4)](https://github.com/lukewaite "lukewaite (19 commits)")

---

Tags

loggingmemory-usagemonologphp

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lukewaite-monolog-memory-usage-processor/health.svg)

```
[![Health](https://phpackages.com/badges/lukewaite-monolog-memory-usage-processor/health.svg)](https://phpackages.com/packages/lukewaite-monolog-memory-usage-processor)
```

###  Alternatives

[symfony/monolog-bridge

Provides integration for Monolog with various Symfony components

2.6k189.7M258](/packages/symfony-monolog-bridge)[rollbar/rollbar

Monitors errors and exceptions and reports them to Rollbar

33723.7M82](/packages/rollbar-rollbar)[illuminate/log

The Illuminate Log package.

6224.3M517](/packages/illuminate-log)[honeybadger-io/honeybadger-php

Honeybadger PHP library

381.5M4](/packages/honeybadger-io-honeybadger-php)[graycore/magento2-stdlogging

A Magento 2 module that changes all logging handlers to stdout

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

PHPackages © 2026

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