generator-log-wp-plugin
v0.0.9
Published
Generates a WP Plugin shaped for log OSCON workflow
Downloads
4
Readme
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
- phpunit/
Sub-Generators:
Aditional sub-generators to generate/update files to enhance your plugin.
Where can I report bugs?
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