Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/roelmagdaleno/wpp-generate
Generate a WordPress plugin from a boilerplate.
https://github.com/roelmagdaleno/wpp-generate
javascript nodejs npm plugin wordpress
Last synced: 13 days ago
JSON representation
Generate a WordPress plugin from a boilerplate.
- Host: GitHub
- URL: https://github.com/roelmagdaleno/wpp-generate
- Owner: roelmagdaleno
- Created: 2021-09-17T03:52:38.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-25T05:19:44.000Z (about 3 years ago)
- Last Synced: 2024-10-02T06:28:42.310Z (about 2 months ago)
- Topics: javascript, nodejs, npm, plugin, wordpress
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# wpp-generate
Generate a WordPress plugin from a boilerplate. The generated plugin includes simple files just for my personal use for now.
## Install
Install the package globally:
```shell
npm install -g wpp-generate
```Or use it with `npx`:
```shell
npx wpp-generate
```## Usage
Run the command:
```shell
wpp-generate
```And fill the form:
1. Plugin Name (Required)
2. Plugin Slug (Required)
3. Plugin URI
4. Description
5. Version
6. Author
7. Author URIWhen you run the command, it will clone the [roelmagdaleno/wp-plugin-boilerplate](https://github.com/roelmagdaleno/wp-plugin-boilerplate) repository to the current path you're in.
## Plugin Structure
The generated project will contain the next structure:
```shell
plugin-name/
├─ includes/
│ ├─ constants.php
│ ├─ required-files.php
│ ├─ class-plugin-name.php
├─ plugin-name.php
```