generator-log-wp-plugin

0.0.9 • Public • Published

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

Package Sidebar

Install

npm i generator-log-wp-plugin

Weekly Downloads

0

Version

0.0.9

License

GPL-2.0

Last publish

Collaborators

  • edygardelima
  • log-oscon
  • xipasduarte