PHPackages                             dface/phpunit-customization - 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. dface/phpunit-customization

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

dface/phpunit-customization
===========================

My custom comparison extension for phpunit

0811PHP

Since Apr 8Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/3DFace/phpunit-customization)[ Packagist](https://packagist.org/packages/dface/phpunit-customization)[ RSS](/packages/dface-phpunit-customization/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (1)

My custom comparison extension for `phpunit`.

I prefer to compare objects with `equals` method.

`phpunit` provides `assertObjectEquals` method, but it's unsuitable to me because I want to compare arrays of objects too.

Also I prefer strict scalar comparison.

To use it add the following to `phpunit.xml`

```

```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance56

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity12

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/faaef133956fbef7d0c35eb2b65aafd88e741240c11b6f55b7d5fda04125c0cf?d=identicon)[3DFace](/maintainers/3DFace)

---

Top Contributors

[![3DFace](https://avatars.githubusercontent.com/u/1931471?v=4)](https://github.com/3DFace "3DFace (9 commits)")

### Embed Badge

![Health badge](/badges/dface-phpunit-customization/health.svg)

```
[![Health](https://phpackages.com/badges/dface-phpunit-customization/health.svg)](https://phpackages.com/packages/dface-phpunit-customization)
```

###  Alternatives

[dms/phpunit-arraysubset-asserts

This package provides ArraySubset and related asserts once deprecated in PHPUnit 8

14429.2M360](/packages/dms-phpunit-arraysubset-asserts)

PHPackages © 2026

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