PHPackages                             haiz/test-traits - 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. haiz/test-traits

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

haiz/test-traits
================

A collection of PHPUnit test traits

0.1.2(5y ago)17MITPHPPHP ^5.6

Since Jan 24Pushed 5y agoCompare

[ Source](https://github.com/haiz/test-traits)[ Packagist](https://packagist.org/packages/haiz/test-traits)[ Docs](https://github.com/haiz/test-traits)[ RSS](/packages/haiz-test-traits/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (5)Versions (4)Used By (0)

haiz/test-traits
================

[](#haiztest-traits)

A collection of PHPUnit test traits.

[![Latest Version on Packagist](https://camo.githubusercontent.com/48bd2efebdbcd384a7adaf8333d7ab01aa694f13be5daf50a1a0d415a26ae8d4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6861697a2f746573742d7472616974732e737667)](https://packagist.org/packages/haiz/test-traits)[![Software License](https://camo.githubusercontent.com/074b89bca64d3edc93a1db6c7e3b1636b874540ba91d66367c0e5e354c56d0ea/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e737667)](LICENSE)[![Build Status](https://github.com/haiz-php/test-traits/workflows/build/badge.svg)](https://github.com/haiz-php/test-traits/actions)[![Total Downloads](https://camo.githubusercontent.com/37d97d23211a75e050f7b06ea670898dd75631d7c89503307e304e11aa8a8561/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6861697a2f746573742d7472616974732e737667)](https://packagist.org/packages/haiz/test-traits/stats)

Requirements
------------

[](#requirements)

- PHP 5.6.x

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

[](#installation)

```
composer require haiz/test-traits --dev
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

Total

3

Last Release

1929d ago

PHP version history (2 changes)0.1.0PHP ^7.2 || ^8.0

0.1.2PHP ^5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/10560915a7e5ea74dc50c6d0e08d494fea11b89b247fd1f293a7ba6b4cb56180?d=identicon)[haiz](/maintainers/haiz)

---

Top Contributors

[![odan](https://avatars.githubusercontent.com/u/781074?v=4)](https://github.com/odan "odan (6 commits)")

---

Tags

phpunittesttraits

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/haiz-test-traits/health.svg)

```
[![Health](https://phpackages.com/badges/haiz-test-traits/health.svg)](https://phpackages.com/packages/haiz-test-traits)
```

###  Alternatives

[ta-tikoma/phpunit-architecture-test

Methods for testing application architecture

10745.9M13](/packages/ta-tikoma-phpunit-architecture-test)[kenjis/ci-phpunit-test

An easier way to use PHPUnit with CodeIgniter 3.x

5861.2M3](/packages/kenjis-ci-phpunit-test)[php-mock/php-mock-phpunit

Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.

1718.2M399](/packages/php-mock-php-mock-phpunit)[ergebnis/phpunit-slow-test-detector

Provides facilities for detecting slow tests in phpunit/phpunit.

1468.1M72](/packages/ergebnis-phpunit-slow-test-detector)[zenstruck/assert

Standalone, lightweight, framework agnostic, test assertion library.

8114.9M8](/packages/zenstruck-assert)[wp-phpunit/wp-phpunit

WordPress core PHPUnit library

803.7M208](/packages/wp-phpunit-wp-phpunit)

PHPackages © 2026

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