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

ActiveLibrary

zawntech/wpgen
==============

A WordPress plugin generator and scaffolding tool

1.0.1(3y ago)1111PHP

Since Jun 27Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/zawntech/wpgen)[ Packagist](https://packagist.org/packages/zawntech/wpgen)[ RSS](/packages/zawntech-wpgen/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependencies (1)Versions (4)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:zawntech/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

33

—

LowBetter than 75% of packages

Maintenance57

Moderate activity, may be stable

Popularity8

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

Total

2

Last Release

1315d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12899159?v=4)[Alleged Wizard](/maintainers/zawntech)[@zawntech](https://github.com/zawntech)

---

Top Contributors

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

### Embed Badge

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

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

###  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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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