wonderwp / generator-wwp
WonderWP Plugin Generator
Installs: 3 364
Dependents: 2
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 1
Type:wordpress-muplugin
Requires
- php: >=7.1
- wonderwp/dependency-injection: ^1.0
- wonderwp/http-foundation: ^1.0
- wonderwp/task: ^1.0
- wp-cli/wp-cli: ^2.5
This package is auto-updated.
Last update: 2024-12-03 13:53:04 UTC
README
A WonderWp package that acts as a plugin generator to speed up your plugin developments.
Documentation
Documentation available here : http://wonderwp.net/Creating_a_plugin/Generator.html
Summary
Plugins
Generating a classic plugin
vendor/bin/wp generate-plugin --name="myPluginName" --desc="This is my plugin description" --namespace="WonderWp\Plugin\MyPluginNameSpace"
Generating a Custom Post Type Plugin
vendor/bin/wp generate-plugin --name="myPluginCPTName" --desc="This is my CPT plugin description" --namespace="WonderWp\Plugin\MyPluginCPTNameSpace" --output_type="CPT"
Themes
Generating a classic theme
vendor/bin/wp generate-theme --name="myTheme" --namespace="WonderWp\Theme\MyTheme"
- Generating a block theme
vendor/bin/wp generate-theme --name="myBlockTheme" --namespace="WonderWp\Theme\MyBlockTheme" --output_type="block"