PHPackages                             leedch/unitest - 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. leedch/unitest

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

leedch/unitest
==============

Generates PHPUnit test classes from regular PHP classes

2.0.2(4y ago)0725MITPHPPHP ~7.0|~7.1|~7.2|~7.3|~7.4|~8.0

Since Jul 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/leedave/unitest)[ Packagist](https://packagist.org/packages/leedch/unitest)[ Docs](https://github.com/leedave/unitest.git)[ RSS](/packages/leedch-unitest/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (2)Versions (11)Used By (0)

Unitest
=======

[](#unitest)

Generate PHP Unit Tests (PHPUnit) from regular PHP classes.

Most people don't do Unit Testing because it is too much fuss to get it all set up and to write all test classes. This tool gives you the test classes.

Just edit the tests or delete the ones you don't want. All you need to get this to run is a JSON file containing an array of all class names that need a test Class.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity74

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

Recently: every ~424 days

Total

10

Last Release

1529d ago

Major Versions

0.3.1 → 1.0.02017-07-17

1.0.0 → 2.0.02017-12-31

PHP version history (3 changes)0.0.1PHP ~5.6|~7.0

2.0.0PHP ~7.0|~7.1

2.0.1PHP ~7.0|~7.1|~7.2|~7.3|~7.4|~8.0

### Community

Maintainers

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

---

Top Contributors

[![leedave](https://avatars.githubusercontent.com/u/5908330?v=4)](https://github.com/leedave "leedave (25 commits)")

---

Tags

testingphpunitunit testgenerateleedchcodemonkey

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/leedch-unitest/health.svg)

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

###  Alternatives

[phpunit/phpunit

The PHP Unit Testing framework.

20.0k910.7M134.8k](/packages/phpunit-phpunit)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[codedungeon/phpunit-result-printer

PHPUnit Pretty Result Printer

1.2k8.8M397](/packages/codedungeon-phpunit-result-printer)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69417.9M510](/packages/spatie-phpunit-snapshot-assertions)[dg/bypass-finals

Removes final keyword from source code on-the-fly and allows mocking of final methods and classes

56426.3M456](/packages/dg-bypass-finals)[phpunit/phpunit-selenium

Selenium Server integration for PHPUnit

59610.9M150](/packages/phpunit-phpunit-selenium)

PHPackages © 2026

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