PHPackages                             symonwhite/phpunittraits - 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. symonwhite/phpunittraits

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

symonwhite/phpunittraits
========================

this repo is an summary of function for phpunit test

2.2.0(6y ago)03.0k↓50%MITPHPPHP ~7.3

Since Apr 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/SymonWhite/phpunittraits)[ Packagist](https://packagist.org/packages/symonwhite/phpunittraits)[ RSS](/packages/symonwhite-phpunittraits/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (15)Used By (0)

PHPUnitTraits
=============

[](#phpunittraits)

usage
-----

[](#usage)

- for PHP 5.6 use version 1.x
- for PHP 7.2 use version 2.0.1
- for PHP 7.3 use version 2.x

... to be continue ...

docker
------

[](#docker)

- build

```
docker-compose build --build-arg UID=$UID
```

- create

```
docker-compose up -d
```

- start

```
docker-compose start
```

- stop

```
docker-compose stop
```

- exec

```
docker-compose exec php bash
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Recently: every ~34 days

Total

11

Last Release

2400d ago

Major Versions

1.0.0 → 2.0.02019-04-25

1.1.2 → 2.1.02019-06-07

1.2.0 → 2.0.22019-10-22

PHP version history (4 changes)1.0.0PHP ~5.6

2.0.0PHP ~7.3

1.1.1PHP ^5.6 || ^7.2

2.0.1PHP ~7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/03f9786bb4e72a1ddece35fe5e363be7a160fffb5a290ba92831c1267bbdd74f?d=identicon)[SymonWhite](/maintainers/SymonWhite)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/symonwhite-phpunittraits/health.svg)

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

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[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)

PHPackages © 2026

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