PHPackages                             allegedwizard/wpgen - 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. allegedwizard/wpgen

ActiveProject

allegedwizard/wpgen
===================

A WordPress plugin generator and scaffolding tool

00PHP

Since Mar 16Pushed 1mo agoCompare

[ Source](https://github.com/allegedwizard/wpgen)[ Packagist](https://packagist.org/packages/allegedwizard/wpgen)[ RSS](/packages/allegedwizard-wpgen/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

wpgen
=====

[](#wpgen)

Requirements
------------

[](#requirements)

- [php](http://php.net)
- [nodejs](https://nodejs.org/en/download/)
- [composer](https://getcomposer.org/)

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

[](#installation)

**Windows**

1. Clone the repo
2. Run 'composer install' in the repo root directory
3. Add the repo directory to your system's PATH

**Mac**

Ensure composer is installed via:

```
brew install composer
```

Clone the repo, run composer install, and chmod the wpgen file so that it is executable.

```
git clone git@github.org:allegedwizard/wpgen.git
cd wpgen
composer install
chmod 755 wpgen
```

Create an alias for the wpgen executable by editing or creating `~/.bashrc` and adding the following:

```
alias wpgen='/absolute/path/to/wpgen/wpgen'

```

Then restart your terminal and run `wpgen` to verify successful installation.

Create Plugin
-------------

[](#create-plugin)

In order to use **wpgen**, first create a plugin.

Navigate to your WordPress plugins directory, then run:

```
wpgen create:plugin

```

This creates a basic plugin architecture with a namespace of your choice.

A *wpgen.config.json* file is created in the plugin root directory. This file is **required** for all component functionality. Do not delete it.

Once your base plugin is generated, go to the new plugin directory and run:

```
composer install

```

Then, run wpgen to get a list of commands.

\*\* create: prefixed commands must run from the plugin root directory.

\*\* component: prefixed commands must be run from the specific component directory.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance62

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/120d13ff55f4b8a218b1651de33eec9c2167b06968c4328e2ef9475174db3d76?d=identicon)[allegedwizard](/maintainers/allegedwizard)

---

Top Contributors

[![zawntech](https://avatars.githubusercontent.com/u/12899159?v=4)](https://github.com/zawntech "zawntech (39 commits)")

### Embed Badge

![Health badge](/badges/allegedwizard-wpgen/health.svg)

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

PHPackages © 2026

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