PHPackages                             ingenious/tdd-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. [Testing &amp; Quality](/categories/testing)
4. /
5. ingenious/tdd-generator

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

ingenious/tdd-generator
=======================

A simple generator for speeding up the tdd workflow

v1.5.2(7y ago)2120MITPHP

Since Dec 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Gimcrack/tdd-generator)[ Packagist](https://packagist.org/packages/ingenious/tdd-generator)[ RSS](/packages/ingenious-tdd-generator/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)DependenciesVersions (21)Used By (0)

TDD Generator
=============

[](#tdd-generator)

Laravel TDD Generator Helper

Description
-----------

[](#description)

- Adds `Route::apiResource` routes to your specified routes file.
- Generates stubs for:
    - Controller
    - Events
    - Factory
    - Migration
    - Model
    - Requests
    - Feature Test
    - Unit Test

Usage
-----

[](#usage)

```
php artisan tdd:generate
    { model : The new model name }
    { routes? : The routes file to use }
    { prefix? : The route name prefix to use e.g. admin }
    { --force : Overwrite existing files without confirmation }

```

To generate stubs for the `Group` model and add the routes to the `api-admin.php` routes file, you would use the following:

```
php artisan tdd:generate Group api-admin.php

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 79.1% 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 ~12 days

Recently: every ~28 days

Total

19

Last Release

2849d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/49f8c400b0768dacb071aca3ca234b111e3feba19574ed608d3a96114054f120?d=identicon)[ingenious](/maintainers/ingenious)

---

Top Contributors

[![msb-jeremy](https://avatars.githubusercontent.com/u/18389776?v=4)](https://github.com/msb-jeremy "msb-jeremy (53 commits)")[![Gimcrack](https://avatars.githubusercontent.com/u/8129101?v=4)](https://github.com/Gimcrack "Gimcrack (14 commits)")

### Embed Badge

![Health badge](/badges/ingenious-tdd-generator/health.svg)

```
[![Health](https://phpackages.com/badges/ingenious-tdd-generator/health.svg)](https://phpackages.com/packages/ingenious-tdd-generator)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[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)

PHPackages © 2026

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