PHPackages                             lancerhe/php-yafunit - 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. lancerhe/php-yafunit

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

lancerhe/php-yafunit
====================

Yaf phpunit for application test.

v1.2.0(9y ago)03271PHPPHP &gt;=5.3.0

Since Sep 17Pushed 9y agoCompare

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

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

PHP YafUnit
===========

[](#php-yafunit)

[![Latest Stable Version](https://camo.githubusercontent.com/2c8b66eab5b7b1161d17bb731f38ce652df994bf1f2ec3bcf5928c5bab9a7efc/68747470733a2f2f706f7365722e707567782e6f72672f6c616e63657268652f7068702d796166756e69742f762f737461626c65)](https://packagist.org/packages/lancerhe/php-yafunit) [![Total Downloads](https://camo.githubusercontent.com/7b0b2c8261334ea65923fffba8ac3cf9d69892b45d84f2100845c6279100a724/68747470733a2f2f706f7365722e707567782e6f72672f6c616e63657268652f7068702d796166756e69742f646f776e6c6f616473)](https://packagist.org/packages/lancerhe/php-yafunit) [![Latest Unstable Version](https://camo.githubusercontent.com/da27d4b3c5b44463ed121fa7254bae75b30b2cfc9d6d7652c2f6b3331f0b2d8b/68747470733a2f2f706f7365722e707567782e6f72672f6c616e63657268652f7068702d796166756e69742f762f756e737461626c65)](https://packagist.org/packages/lancerhe/php-yafunit) [![License](https://camo.githubusercontent.com/1b7f69952940c2644908a10123479bd6d6157980bf0ec8fc7481bd32d39246f0/68747470733a2f2f706f7365722e707567782e6f72672f6c616e63657268652f7068702d796166756e69742f6c6963656e7365)](https://packagist.org/packages/lancerhe/php-yafunit)

yaf phpunit library for yaf application test.

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

[](#requirements)

**PHP5.4.0 or later**

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

[](#installation)

Create or modify your composer.json

```
{
    "require": {
        "lancerhe/php-yafunit": "1.2.0"
    }
}
```

Usage
-----

[](#usage)

See

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

3

Last Release

3558d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/150764812645aea7e9ac7e78774191f1eb399463038812ac22760095cb736bb2?d=identicon)[lancerhe](/maintainers/lancerhe)

---

Top Contributors

[![lancerhe](https://avatars.githubusercontent.com/u/3190175?v=4)](https://github.com/lancerhe "lancerhe (15 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lancerhe-php-yafunit/health.svg)

```
[![Health](https://phpackages.com/badges/lancerhe-php-yafunit/health.svg)](https://phpackages.com/packages/lancerhe-php-yafunit)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[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)[phpspec/phpspec

Specification-oriented BDD framework for PHP 7.1+

1.9k36.7M3.1k](/packages/phpspec-phpspec)

PHPackages © 2026

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