PHPackages                             ganbarodigital/php-unit-test-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. [Testing &amp; Quality](/categories/testing)
4. /
5. ganbarodigital/php-unit-test-helpers

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

ganbarodigital/php-unit-test-helpers
====================================

2.1.0(10y ago)18.9k↓33.3%16BSD-3-ClausePHPPHP &gt;= 5.5

Since Jun 27Pushed 10y ago1 watchersCompare

[ Source](https://github.com/ganbarodigital/php-unit-test-helpers)[ Packagist](https://packagist.org/packages/ganbarodigital/php-unit-test-helpers)[ RSS](/packages/ganbarodigital-php-unit-test-helpers/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (16)

PHP Unit Test Helpers
=====================

[](#php-unit-test-helpers)

Introduction
------------

[](#introduction)

The PHP Unit Test helpers library provides a set of useful and robust helpers that you can quickly drop into your own project to save you time and effort when writing unit tests.

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

[](#installation)

Add this to your `composer.json` file:

```
{
	"require": {
		"ganbarodigital/php-unit-test-helpers": "^1.0"
	}
}

```

and then run `composer update`.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity61

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

Total

3

Last Release

3978d ago

Major Versions

1.0.0 → 2.0.02015-06-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/2dc3934d5c3ce55e18dca95d52b564fb2a34986770af3c532dba6c248ef58f3a?d=identicon)[stuartherbert](/maintainers/stuartherbert)

---

Top Contributors

[![stuartherbert](https://avatars.githubusercontent.com/u/7926?v=4)](https://github.com/stuartherbert "stuartherbert (23 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ganbarodigital-php-unit-test-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/ganbarodigital-php-unit-test-helpers/health.svg)](https://phpackages.com/packages/ganbarodigital-php-unit-test-helpers)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)

PHPackages © 2026

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