wpcreator

0.5.0 • Public • Published

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 );

Readme

Keywords

Package Sidebar

Install

npm i wpcreator

Weekly Downloads

1

Version

0.5.0

License

ISC

Unpacked Size

87.6 kB

Total Files

55

Last publish

Collaborators

  • hamedmoody