Skip to content

daneshjooyar/wpcreator

Repository files navigation

WPCreator: a package for speed up plugin development

License: MIT Scrutinizer Code Quality Node Version Download Count

You can generate boilerplate WordPress plugin with simple commands

install

use below command for install wpcreator globally:

npm install -g wpcreator

Generate Boilerplate Plugin

###1. Create plugin base Go to directory that must contain your plugin such as /wp-content/plugins/ and generate your base plugin:

cd {wordpress_dir}/wp-content/plugins/

wpcreator plugin "Daneshjooyar Course Shop"

Or use npx tool:

npx wpcreator plugin "Mypluygin"

2. Install plugin composer for active namespace

Go to new plugin directory and install composer:

cd daneshjooyar-course-shop
composer install

3. Install Vue panel dependencies

For install VueJs panel for to Panel directory and run below command:

cd Panel
npm install

Note: For dev mode VueJs panel define PANEL_DEBUG in wp-config.php file:

define( 'PANEL_DEBUG', true );

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •