PHPackages                             forme/codegen - 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. [CLI &amp; Console](/categories/cli)
4. /
5. forme/codegen

ActiveLibrary[CLI &amp; Console](/categories/cli)

forme/codegen
=============

Code Generation CLI For The Forme WordPress Framework

v3.0.2(2mo ago)22.3kMITPHPPHP ^8.3

Since Dec 24Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/formewp/forme-codegen)[ Packagist](https://packagist.org/packages/forme/codegen)[ RSS](/packages/forme-codegen/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (54)Versions (110)Used By (0)

[![](https://camo.githubusercontent.com/148595267ba463c3428cbef04b910322b0311af5a71a04849932fdf79156ce2c/68747470733a2f2f666f726d6577702e6769746875622e696f2f6c6f676f2e737667)](https://formewp.github.io)

Forme CodeGen
=============

[](#forme-codegen)

Code Generation CLI For The Forme WordPress Framework.

Install it globally.

```
composer global require forme/codegen
```

[Click here for Documentation](https://formewp.github.io)

Development
-----------

[](#development)

For development run `phive install --force-accept-unsigned` followed by `composer install`.

Tools are in `./tools` rather than `./vendor/bin`

You also need [git cliff](https://github.com/orhun/git-cliff) for generating changelogs and [pcov](https://github.com/krakjoe/pcov) to generate coverage stats for infection to measure against.

The useful ones are set up as composer scripts.

```
composer test # run pest
composer stan # run phpstan on src
composer rector:check # rector dry run on src
composer rector:fix # rector on src
composer cs:check # php cs fixer dry run on src
composer cs:fix # php cs fixer on src
composer phar:build # build phar with box (experimental, some features don't work yet)
composer changelog # run git cliff
composer hooks # install git hooks (will run on composer install automatically)
composer bump:version # bump to the next patch version - can also take argument "minor" or "major"
composer infection # run infection on src
composer infection:log # run infection on src and log to infection.html
```

### Output all help as markdown for docs

[](#output-all-help-as-markdown-for-docs)

```
# requires findutils on OSX - you can drop the "g" xargs prefix on Linux
forme list --raw | cut -d' ' -f1 | gxargs -n1 -d'\n' forme --format=md help | sed $'s/\x1b\\[91m\([A-Za-z\\._-]*\)\x1b\\[0m/`\\1`/g' | sed $'s/    \x1b\\[0\;33m\(.*\)\x1b\\[0m/```bash\\n\\1\\n```/g' | sed $'s,\x1b\\[[0-9;]*[a-zA-Z],,g' > codegen.md
```

Manual steps:

1. Check the section/command titles as this doesn't seem to output correct line breaks
2. Find and replace home folder
3. Copy into docs

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance86

Actively maintained with recent releases

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

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

Recently: every ~0 days

Total

108

Last Release

67d ago

Major Versions

v1.10.2 → v2.0.02023-03-11

v2.8.2 → v3.0.02026-03-12

PHP version history (5 changes)1.0PHP &gt;=7.3|^8.0

1.0.1PHP ^8.0

v2.0.0PHP ^8.1

v2.5.0PHP ^8.2

v2.8.0PHP ^8.3

### Community

Maintainers

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

---

Top Contributors

[![moussaclarke](https://avatars.githubusercontent.com/u/13017858?v=4)](https://github.com/moussaclarke "moussaclarke (330 commits)")

---

Tags

clicode-generationformewordpress

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/forme-codegen/health.svg)

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

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[crunzphp/crunz

Schedule your tasks right from the code.

2292.0M6](/packages/crunzphp-crunz)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

53541.0k3](/packages/jolicode-castor)

PHPackages © 2026

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