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)288.3k↓72.1%1MITPHPPHP &gt;=8.0

Since Mar 31Pushed 3y ago10 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 2d 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 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community13

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

1555d 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.5k136.1M986](/packages/brianium-paratest)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69619.8M640](/packages/spatie-phpunit-snapshot-assertions)[mybuilder/phpunit-accelerator

PHPUnit accelerator

1373.0M39](/packages/mybuilder-phpunit-accelerator)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1499.9M107](/packages/ergebnis-phpunit-slow-test-detector)[drupal/core-dev

require-dev dependencies from drupal/drupal; use in addition to drupal/core-recommended to run tests from drupal/core.

2022.6M344](/packages/drupal-core-dev)[padraic/phpunit-accelerator

PHPUnit Accelerator: Speeds up PHPUnit by freeing memory after test runs

12158.2k](/packages/padraic-phpunit-accelerator)

PHPackages © 2026

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