PHPackages                             teamradhq/testing - 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. teamradhq/testing

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

teamradhq/testing
=================

A collection of assertions and helpers to use in testing.

0.0.2(3mo ago)00MITPHP ^8.2

Since Apr 11Compare

[ Source](https://github.com/teamradhq/php-testing)[ Packagist](https://packagist.org/packages/teamradhq/testing)[ RSS](/packages/teamradhq-testing/feed)WikiDiscussions Synced 3w ago

READMEChangelogDependencies (11)Versions (3)Used By (0)

Testing Library
===============

[](#testing-library)

This package contains a collection of assertions, reflection helpers and other utilities that I use frequently in PHPUnit tests.

```
composer require --dev teamradhq/testing
```

Utilities
---------

[](#utilities)

### Helpers

[](#helpers)

#### `Inspector`

[](#inspector)

A static helper with a that provides a number of methods to inspect and interact with objects using reflection.

### Assertion Libraries

[](#assertion-libraries)

#### `ArrayAssertions`

[](#arrayassertions)

Provides some assertions for arrays that can be used to assert partial or complete "sameness".

Tip

Here **sameness** means that arrays are equal in content regardless of the order of elements.

#### `ObjectAssertions`

[](#objectassertions)

Use the `Inspector` to provide a range of assertions for validating objects. It

Tip

Sometimes it just isn't possible to refactor a class to make it more testable using DI or similar techniques. This is where these assertions come in handy. These can either be permanent fixtures in your test library, or can be used to validate the existing behaviour before refactoring.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance80

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

104d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14055161?v=4)[Paul Beynon](/maintainers/teamradhq)[@teamradhq](https://github.com/teamradhq)

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/teamradhq-testing/health.svg)

```
[![Health](https://phpackages.com/badges/teamradhq-testing/health.svg)](https://phpackages.com/packages/teamradhq-testing)
```

PHPackages © 2026

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