PHPackages                             cleatsquad/php-unit-tests-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. cleatsquad/php-unit-tests-generator

ActiveLibrary

cleatsquad/php-unit-tests-generator
===================================

PhpUnit test generator

1.0.0(3y ago)2182[1 issues](https://github.com/CleatSquad/php-unit-tests-generator/issues)[3 PRs](https://github.com/CleatSquad/php-unit-tests-generator/pulls)MITPHPPHP ~7.4||~8.0||~8.1

Since Nov 20Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/CleatSquad/php-unit-tests-generator)[ Packagist](https://packagist.org/packages/cleatsquad/php-unit-tests-generator)[ RSS](/packages/cleatsquad-php-unit-tests-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (5)Used By (0)

php Unit Generator
==================

[](#php-unit-generator)

This package allows you to generate unit tests. This package is recommended for magento 2.

Badges
------

[](#badges)

[![Latest Stable Version](https://camo.githubusercontent.com/539a746bd8c5136604e2c838f86070a239f093e8580f8c909ff79df25bccddb8/687474703a2f2f706f7365722e707567782e6f72672f636c65617473717561642f7068702d756e69742d74657374732d67656e657261746f722f76)](https://packagist.org/packages/cleatsquad/php-unit-tests-generator)[![Total Downloads](https://camo.githubusercontent.com/b024780067c1808571dab1fff3c76daec2b62af6acf94568e9f6331eeb730d85/687474703a2f2f706f7365722e707567782e6f72672f636c65617473717561642f7068702d756e69742d74657374732d67656e657261746f722f646f776e6c6f616473)](https://packagist.org/packages/cleatsquad/php-unit-tests-generator)[![Latest Unstable Version](https://camo.githubusercontent.com/65609d60808d9a2ca847ee5c8ddfac063041c9d9049526792f2768ea9637077c/687474703a2f2f706f7365722e707567782e6f72672f636c65617473717561642f7068702d756e69742d74657374732d67656e657261746f722f762f756e737461626c65)](https://packagist.org/packages/cleatsquad/php-unit-tests-generator)[![License](https://camo.githubusercontent.com/b8fd5e90e6730d3d9c3998dde7ca861a5ef7e694177b89dc95799d53be95714f/687474703a2f2f706f7365722e707567782e6f72672f636c65617473717561642f7068702d756e69742d74657374732d67656e657261746f722f6c6963656e7365)](https://packagist.org/packages/cleatsquad/php-unit-tests-generator)

Getting Started
---------------

[](#getting-started)

### Installing

[](#installing)

Add dependency

```
composer require cleatsquad/php-unit-tests-generator --dev

```

Examples
--------

[](#examples)

You can use it to generate tests for all classes in a folder

```
bin/magento dev:unit:test-generate /app/code/Vendor/Module/pathtest-generate
```

Or use it for a specified file

```
bin/magento dev:unit:test-generate /app/code/Vendor/Module/path/to/file.php
```

Examples
--------

[](#examples-1)

@todo add origin class and generated test

Authors
-------

[](#authors)

- **Mohamed El Mrabet** - *Initial work* - [mimou78](https://github.com/mimou78)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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

Unknown

Total

1

Last Release

1266d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/75b8cb31786be9b4017a0c617eebe3a0cd3b8d039069ffad5bb5007b5510fd9d?d=identicon)[mimou78](/maintainers/mimou78)

---

Top Contributors

[![mohaelmrabet](https://avatars.githubusercontent.com/u/3817628?v=4)](https://github.com/mohaelmrabet "mohaelmrabet (9 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/cleatsquad-php-unit-tests-generator/health.svg)

```
[![Health](https://phpackages.com/badges/cleatsquad-php-unit-tests-generator/health.svg)](https://phpackages.com/packages/cleatsquad-php-unit-tests-generator)
```

###  Alternatives

[phan/phan

A static analyzer for PHP

5.6k11.2M1.1k](/packages/phan-phan)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-soap/wsdl

Deals with WSDLs

173.5M12](/packages/php-soap-wsdl)[php-soap/wsdl-reader

A WSDL reader in PHP

212.3M9](/packages/php-soap-wsdl-reader)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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