PHPackages                             ghostwriter/testify - 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. ghostwriter/testify

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

ghostwriter/testify
===================

Automated test Generation for PHP code.

0.1.0(1y ago)192.2k[1 issues](https://github.com/ghostwriter/testify/issues)BSD-3-ClausePHPPHP &gt;=8.3

Since Oct 10Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/ghostwriter/testify)[ Packagist](https://packagist.org/packages/ghostwriter/testify)[ Docs](https://github.com/ghostwriter/testify)[ GitHub Sponsors](https://github.com/sponsors/ghostwriter)[ RSS](/packages/ghostwriter-testify/feed)WikiDiscussions 0.1.x Synced 1mo ago

READMEChangelog (1)Dependencies (6)Versions (11)Used By (0)

Testify
=======

[](#testify)

[![GitHub Sponsors](https://camo.githubusercontent.com/85178956045f4ebe83b4f2347b03b7b9f85327c68e45731a0940dd4994e97231/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73706f6e736f72732f67686f73747772697465723f6c6162656c3d53706f6e736f722b4067686f73747772697465722f74657374696679266c6f676f3d4769744875622b53706f6e736f7273)](https://github.com/sponsors/ghostwriter)[![Automation](https://github.com/ghostwriter/testify/actions/workflows/automation.yml/badge.svg)](https://github.com/ghostwriter/testify/actions/workflows/automation.yml)[![Supported PHP Version](https://camo.githubusercontent.com/11be597797fa9cdeb03a1bb1795380f5ee0f1eefcccf7c62171bf919df811d8d/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f7068702f67686f73747772697465722f746573746966793f636f6c6f723d383839326266)](https://www.php.net/supported-versions)[![Downloads](https://camo.githubusercontent.com/851dc6a18208ae8ae56a58f8a475107b4408206c6a1ac6211bfb2e403d959a17/68747470733a2f2f62616467656e2e6e65742f7061636b61676973742f64742f67686f73747772697465722f746573746966793f636f6c6f723d626c7565)](https://packagist.org/packages/ghostwriter/testify)

Automated test Generation for PHP code.

Warning

This project is not finished yet, work in progress.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require ghostwriter/testify --dev
```

### Star ⭐️ this repo if you find it useful

[](#star-️-this-repo-if-you-find-it-useful)

You can also star (🌟) this repo to find it easier later.

Usage
-----

[](#usage)

Call the `testify` command with the path to the directory you want to generate tests for.

```
vendor/bin/testify --verbose --dry-run
```

### Commands

[](#commands)

```
Description:
  Generate missing Tests.

Usage:
  bin/testify [options] [--] [ []]

Arguments:
  source                The path to search for missing tests. [default: "src"]
  tests                 The path used to create tests. [default: "tests"]

Options:
  -d, --dry-run         Do not write any files.
  -f, --force           Overwrite existing files.
  -h, --help            Display help for the given command. When no command is given display help for the bin/testify command
  -q, --quiet           Do not output any message
  -V, --version         Display this application version
      --ansi|--no-ansi  Force (or disable --no-ansi) ANSI output
  -n, --no-interaction  Do not ask any interactive question
  -v|vv|vvv, --verbose  Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
```

#### Example

[](#example)

```
vendor/bin/testify app tests --dry-run

vendor/bin/testify app/Middleware --dry-run --verbose

vendor/bin/testify # default path is `src`
```

### Credits

[](#credits)

- [Nathanael Esayeas](https://github.com/ghostwriter)
- [All Contributors](https://github.com/ghostwriter/testify/contributors)

### Changelog

[](#changelog)

Please see [CHANGELOG.md](./CHANGELOG.md) for more information on what has changed recently.

### License

[](#license)

Please see [LICENSE](./LICENSE) for more information on the license that applies to this project.

### Security

[](#security)

Please see [SECURITY.md](./SECURITY.md) for more information on security disclosure process.

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance49

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

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

Total

4

Last Release

35d ago

Major Versions

0.1.0 → 1.0.x-dev2026-04-01

PHP version history (2 changes)0.1.0PHP &gt;=8.3

1.0.x-devPHP ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1dbb0131801cc451dad9917ab29aa823b25d7eebc9f3875a9d481d109bdb44ee?d=identicon)[ghostwriter](/maintainers/ghostwriter)

---

Top Contributors

[![ghostwriter](https://avatars.githubusercontent.com/u/9754361?v=4)](https://github.com/ghostwriter "ghostwriter (2224 commits)")

---

Tags

devghostwritertestifytestingtestingdevghostwritertestify

### Embed Badge

![Health badge](/badges/ghostwriter-testify/health.svg)

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

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.0k](/packages/orchestra-testbench)[orchestra/testbench-core

Testing Helper for Laravel Development

27043.7M308](/packages/orchestra-testbench-core)[orchestra/workbench

Workbench Companion for Laravel Packages Development

8017.0M43](/packages/orchestra-workbench)[donatj/mock-webserver

Simple mock web server for unit testing

1382.5M79](/packages/donatj-mock-webserver)[guanguans/laravel-soar

SQL optimizer and rewriter for laravel. - laravel 的 SQL 优化器和重写器。

2227.8k](/packages/guanguans-laravel-soar)[pierstoval/smoke-testing

Smoke testing automator for Symfony applications

4032.6k](/packages/pierstoval-smoke-testing)

PHPackages © 2026

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