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.0kproprietaryPHPPHP ^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 today

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

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

27

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

972d 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

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.5M596](/packages/sylius-sylius)[nelmio/alice

Expressive fixtures generator

2.5k42.8M126](/packages/nelmio-alice)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k38.0M27.1k](/packages/orchestra-testbench)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k11.6M36](/packages/knuckleswtf-scribe)[jgrossi/corcel

Use WordPress backend with Laravel or any PHP framework

4.8k1.8M26](/packages/jgrossi-corcel)[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)

PHPackages © 2026

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