PHPackages                             axy/pkg-unit - 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. axy/pkg-unit

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

axy/pkg-unit
============

Base classes for axy packages unit testing

0.1.4(2y ago)01214MITPHPPHP &gt;=8.1

Since Mar 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/axypro/pkg-unit)[ Packagist](https://packagist.org/packages/axy/pkg-unit)[ Docs](https://github.com/axypro/pkg-unit)[ RSS](/packages/axy-pkg-unit/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (4)

axy/pkg-unit
============

[](#axypkg-unit)

Base classes for axy packages unit testing.

[![Latest Stable Version](https://camo.githubusercontent.com/a3ba660643dc71d483955d1b09bf375d86acb476948905069309e8f09f732254/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6178792f706b672d756e69742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/axy/pkg-unit)[![Minimum PHP Version](https://camo.githubusercontent.com/2d18ce514c7016022dad012ac9e39a8b6f47cc411b2daff6627cbf208f8cea63/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e312d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net/)[![Tests](https://github.com/axypro/pkg-unit/actions/workflows/test.yml/badge.svg)](https://github.com/axypro/pkg-unit/actions/workflows/test.yml)[![Coverage Status](https://camo.githubusercontent.com/11866d30ee52fc8ecbec512f34b3b8fb1e63baf55bda9f516a72823df1a0c06d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f61787970726f2f706b672d756e69742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/axypro/pkg-unit?branch=master)[![License](https://camo.githubusercontent.com/66bfdb211982f876221698ecfbc78f7cbdd70806bdcc828ae6bb81be94562323/68747470733a2f2f706f7365722e707567782e6f72672f6178792f706b672d756e69742f6c6963656e7365)](LICENSE)

This library is used in axy-packages for unit testing at the development stage. Uses PHPUnit 10.

- [BaseAxyTestCase](doc/BaseAxyTestCase.md)
    - [assertPartiallySame()](doc/assertPartiallySame.md)
    - [assertItemsPartiallySame()](doc/assertItemsPartiallySame.md)
- [TestBootstrap](doc/TestBootstrap.md)
- [tmpDir()](doc/TestTmpDir.md)
- [addDownListener()](doc/addDownListener.md)
- [requiresDocker()](doc/requiresDocker.md)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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

Total

5

Last Release

845d ago

### Community

Maintainers

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

---

Top Contributors

[![vasa-c](https://avatars.githubusercontent.com/u/557081?v=4)](https://github.com/vasa-c "vasa-c (18 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/axy-pkg-unit/health.svg)

```
[![Health](https://phpackages.com/badges/axy-pkg-unit/health.svg)](https://phpackages.com/packages/axy-pkg-unit)
```

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[timacdonald/log-fake

A drop in fake logger for testing with the Laravel framework.

4235.9M56](/packages/timacdonald-log-fake)[jasonmccreary/laravel-test-assertions

A set of helpful assertions when testing Laravel applications.

3513.9M32](/packages/jasonmccreary-laravel-test-assertions)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1468.1M72](/packages/ergebnis-phpunit-slow-test-detector)[typo3/testing-framework

The TYPO3 testing framework provides base classes for unit, functional and acceptance testing.

675.0M775](/packages/typo3-testing-framework)[robiningelbrecht/phpunit-pretty-print

Prettify PHPUnit output

76460.0k15](/packages/robiningelbrecht-phpunit-pretty-print)

PHPackages © 2026

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