PHPackages                             micro-module/unit-test-generator - 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. micro-module/unit-test-generator

ActiveLibrary

micro-module/unit-test-generator
================================

POC for unit test generator

v0.6.8(2y ago)12.0k1proprietaryPHPPHP ^7.4 || ^8.0

Since Dec 7Pushed 2y ago1 watchersCompare

[ Source](https://github.com/temafey/unit-test-generator)[ Packagist](https://packagist.org/packages/micro-module/unit-test-generator)[ RSS](/packages/micro-module-unit-test-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (12)Versions (11)Used By (1)

Unit test generator
===================

[](#unit-test-generator)

Proof-of-concept component providing unit test generator.

Documentation
-------------

[](#documentation)

This project can generate or single unit for one class or for all project with all needed mocks.

Getting started
---------------

[](#getting-started)

- For example if you want generate unit test for one class use following code:

    `$testGenerator = new MicroModule\UnitTestGenerator\Service\TestClass();`
    `$testGenerator->generate(FooService::class);`
- For generate tests and mocks for all project use:

    `$testGenerator = new MicroModule\UnitTestGenerator\Service\TestProject(realpath('src'), ['Migrations', 'Presentation', 'Exception']);``$testGenerator->generate();`

    second argument is array of excluded folders

License
-------

[](#license)

This project is licensed under the MIT License - see the LICENSE file for details

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity55

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

Recently: every ~204 days

Total

10

Last Release

1021d ago

PHP version history (2 changes)v0.5.0PHP ^7.4

v0.6.1PHP ^7.4 || ^8.0

### Community

Maintainers

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

---

Top Contributors

[![temafey](https://avatars.githubusercontent.com/u/981101?v=4)](https://github.com/temafey "temafey (9 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Psalm

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/micro-module-unit-test-generator/health.svg)

```
[![Health](https://phpackages.com/badges/micro-module-unit-test-generator/health.svg)](https://phpackages.com/packages/micro-module-unit-test-generator)
```

###  Alternatives

[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8017.0M43](/packages/orchestra-workbench)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k4](/packages/elgg-elgg)[webfactory/slimdump

slimdump is a little tool to help you creating dumps of large MySQL-databases.

188124.8k1](/packages/webfactory-slimdump)[verbb/formie

The most user-friendly forms plugin for Craft.

101372.9k40](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)

PHPackages © 2026

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