PHPackages                             ministryofjustice/phpunit-memory-usage - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. ministryofjustice/phpunit-memory-usage

AbandonedArchivedLibrary[Testing &amp; Quality](/categories/testing)

ministryofjustice/phpunit-memory-usage
======================================

Report high memory usage PHPUnit tests

v1.0.1(4y ago)383.8k↓27.1%1MITPHPPHP &gt;=8.0

Since Mar 31Pushed 3y ago16 watchersCompare

[ Source](https://github.com/ministryofjustice/phpunit-memory-usage)[ Packagist](https://packagist.org/packages/ministryofjustice/phpunit-memory-usage)[ Docs](https://github.com/ministryofjustice/phpunit-memory-usage)[ RSS](/packages/ministryofjustice-phpunit-memory-usage/feed)WikiDiscussions main Synced 1mo ago

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

phpunit-memory-usage
====================

[](#phpunit-memory-usage)

Report high memory usage PHPUnit tests: Managed by opg-org-infra &amp; Terraform

Configuration
-------------

[](#configuration)

Add into the phpunit.xml extensions section

```

```

There are optional arguments to set the maximum allowed memory threshold and whether to display a running total of usage after each test

```

            500000
            true

```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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 ~0 days

Total

2

Last Release

1509d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6a1e9e09ba61fb0eeea25a9185324179d90337dc7d97f7737b35361270d262e?d=identicon)[ministryofjustice](/maintainers/ministryofjustice)

---

Top Contributors

[![ramchale](https://avatars.githubusercontent.com/u/5716929?v=4)](https://github.com/ramchale "ramchale (5 commits)")[![opg-ci](https://avatars.githubusercontent.com/u/42212065?v=4)](https://github.com/opg-ci "opg-ci (1 commits)")

---

Tags

phpunitmemory

### Embed Badge

![Health badge](/badges/ministryofjustice-phpunit-memory-usage/health.svg)

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

###  Alternatives

[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[johnkary/phpunit-speedtrap

Find and report on slow tests in your PHPUnit test suite

78337.2M122](/packages/johnkary-phpunit-speedtrap)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69617.9M510](/packages/spatie-phpunit-snapshot-assertions)[mybuilder/phpunit-accelerator

PHPUnit accelerator

1363.0M38](/packages/mybuilder-phpunit-accelerator)[phpspec/prophecy-phpunit

Integrating the Prophecy mocking library in PHPUnit test cases

19454.9M1.4k](/packages/phpspec-prophecy-phpunit)[yoast/phpunit-polyfills

Set of polyfills for changed PHPUnit functionality to allow for creating PHPUnit cross-version compatible tests

18438.5M841](/packages/yoast-phpunit-polyfills)

PHPackages © 2026

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