Yeoman generator for a new WordPress plugin.
PHP JavaScript
Latest commit 6af0458 Feb 8, 2017 @xipasduarte xipasduarte committed on GitHub Merge pull request #10 from rfp/patch-1
Identation with tabs
Permalink
Failed to load latest commit information.
generators Identation with tabs Feb 8, 2017
utils Fixes taxonomy prompts Dec 15, 2016
.editorconfig Provides Taxonomy sub-generator Dec 14, 2016
.gitignore
.yo-rc.json
LICENSE Initial commit Mar 13, 2015
README.md
package.json

README.md

Plugin Boilerplate Generator

What it is

It will generate a base WordPress Plugin project with PHPUnit, WP_Mocks and Gulp tasks.

Instalation

Please read Yeoman docs for Yeoman installation.

Run generator-log-wp-plugin from npm:
npm install -g generator-log-wp-plugin

Bootstrap

yo log-wp-plugin will generate a package.json and a composer.php with the specified dependencies, an .editorconfig, a .gitignore, a phpunit.xml and a {plugin_name}.php, and will create the following directories and files:

  • languages/
  • lib/
    • Activator.php
    • Deactivator.php
    • I18n.php
    • index.php
    • Plugin.php
  • src/
    • scripts/
    • styles/
  • templates/
  • test/
    • phpunit/
      • sample.test.php

Sub-Generators:

Aditional sub-generators to generate/update files to enhance your plugin.

Where can I report bugs?

Git issues

Changelog

  • <%= version %>
    • Initial release.

ROADMAP

  • Sub-generator for Taxonomy
  • Sub-generator for Custom Post Type
  • Sub-generator for Frontend type files
  • Sub-generator for WP-API EndPoint
  • Sub-generator for Widget
  • App prompting refactor and field validation

Contributors:

License:

GPL-2.0 or later