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

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

lion/test
=========

Library to implement testing with helpers that allow easy testing with PHPUnit.

v4.1.0(2mo ago)18.1k↓100%4MITPHP &gt;=8.5

Since Nov 19Compare

[ Source](https://github.com/lion-packages/test)[ Packagist](https://packagist.org/packages/lion/test)[ Docs](https://dev.lion-packages.com)[ RSS](/packages/lion-test/feed)WikiDiscussions Synced today

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/lion-packages/test).

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance85

Actively maintained with recent releases

Popularity26

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity70

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

Recently: every ~22 days

Total

31

Last Release

20d ago

Major Versions

1.x-dev → v2.0.02024-05-14

v2.2.0 → v3.0.02024-11-30

3.x-dev → v4.0.02025-12-21

PHP version history (4 changes)v1.0.0PHP &gt;=8.2

v2.0.0PHP &gt;=8.3

v3.1.0PHP &gt;=8.4

v4.0.0PHP &gt;=8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/1419758fcb0259274d35f6d2cbfb5a60694baa74e99437d32dfec9a0d5c10d65?d=identicon)[lion-packages](/maintainers/lion-packages)

---

Tags

testlionlion-test

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[mockery/mockery

Mockery is a simple yet flexible PHP mock object framework

10.7k488.3M20.8k](/packages/mockery-mockery)[hamcrest/hamcrest-php

This is the PHP port of Hamcrest Matchers

7.1k475.4M94](/packages/hamcrest-hamcrest-php)[nelmio/alice

Expressive fixtures generator

2.5k42.8M126](/packages/nelmio-alice)[zenstruck/foundry

A model factory library for creating expressive, auto-completable, on-demand dev/test fixtures with Symfony and Doctrine.

78011.3M79](/packages/zenstruck-foundry)[php-mock/php-mock

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

37417.5M83](/packages/php-mock-php-mock)[brain/monkey

Mocking utility for PHP functions and WordPress plugin API

33112.0M287](/packages/brain-monkey)

PHPackages © 2026

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