All Projects → WebDevStudios → Generator Plugin Wp

WebDevStudios / Generator Plugin Wp

Licence: gpl-3.0
Yeoman WordPress Plugin Generator

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Generator Plugin Wp

Awesome Gravity Forms
A collection of third party add-ons for Gravity Forms plugin.
Stars: ✭ 267 (-1.11%)
Mutual labels:  wordpress, wordpress-plugin
Wp Graphql
🚀 GraphQL API for WordPress
Stars: ✭ 3,097 (+1047.04%)
Mutual labels:  wordpress, wordpress-plugin
Givewp
GiveWP - The #1 Donation Plugin for WordPress. Easily accept donations and fundraise using your WordPress website.
Stars: ✭ 233 (-13.7%)
Mutual labels:  wordpress, wordpress-plugin
Code Snippets
Code Snippets WordPress Plugin
Stars: ✭ 226 (-16.3%)
Mutual labels:  wordpress, wordpress-plugin
Tablepress
TablePress is a plugin for WordPress. It enables you to create and manage tables on your website.
Stars: ✭ 249 (-7.78%)
Mutual labels:  wordpress, wordpress-plugin
Theme Sniffer
Theme Sniffer plugin using sniffs.
Stars: ✭ 228 (-15.56%)
Mutual labels:  wordpress, wordpress-plugin
Papi
🚀 WordPress Page Type API with custom fields
Stars: ✭ 258 (-4.44%)
Mutual labels:  wordpress, wordpress-plugin
List Category Posts
WordPress plugin which allows you to list posts from a category into a post/page using the [catlist] shortcode.
Stars: ✭ 212 (-21.48%)
Mutual labels:  wordpress, wordpress-plugin
Autoptimize
Official Autoptimize repo on Github
Stars: ✭ 245 (-9.26%)
Mutual labels:  wordpress, wordpress-plugin
Gamajo Template Loader
A class to copy into your WordPress plugin, to allow loading template parts with fallback through the child theme > parent theme > plugin.
Stars: ✭ 243 (-10%)
Mutual labels:  wordpress, wordpress-plugin
Wordpress Ajax Load More
🔥 WordPress infinite scroll with Ajax Load More - the ultimate solution to add infinite scroll functionality to your WordPress powered website.
Stars: ✭ 222 (-17.78%)
Mutual labels:  wordpress, wordpress-plugin
Fabrica Dev Kit
A toolkit for faster, smoother WordPress 5 development
Stars: ✭ 256 (-5.19%)
Mutual labels:  wordpress, wordpress-plugin
Wp Jamstack Deployments
A WordPress plugin for JAMstack deployments
Stars: ✭ 222 (-17.78%)
Mutual labels:  wordpress, wordpress-plugin
Generator Chisel
Chisel is a development framework for creating easy to maintain and fast WordPress websites
Stars: ✭ 233 (-13.7%)
Mutual labels:  wordpress, yeoman
Vue Wp Starter
A WordPress Vue.js starter plugin
Stars: ✭ 214 (-20.74%)
Mutual labels:  wordpress, wordpress-plugin
Anspress
AnsPress is the most complete question and answer system for WordPress. AnsPress is made with developers in mind, highly customizable. AnsPress provide an easy to use override system for theme
Stars: ✭ 264 (-2.22%)
Mutual labels:  wordpress, wordpress-plugin
Glotpress Wp
🌍 🌎 🌏 GlotPress is a WordPress plugin to let you set up your own collaborative, web-based software translation tool.
Stars: ✭ 205 (-24.07%)
Mutual labels:  wordpress, wordpress-plugin
The Events Calendar
The Events Calendar WordPress plugin by Modern Tribe
Stars: ✭ 208 (-22.96%)
Mutual labels:  wordpress, wordpress-plugin
Multilingual Press
The multisite-based free open source plugin for your multilingual WordPress websites.
Stars: ✭ 239 (-11.48%)
Mutual labels:  wordpress, wordpress-plugin
nest-js-boilerplate
Nest.js boilerplate
Stars: ✭ 79 (-70.74%)
Mutual labels:  generator, yeoman

generator-plugin-wp buddy pipeline

Yeoman generator for WordPress plugins.

WebDevStudios. WordPress for big brands.

Getting Started

Pre-requisites: You'll need node which comes with npm.

If you don't have Yeoman installed:

npm install -g yo

To install generator-plugin-wp from npm, run:

npm install -g generator-plugin-wp

To use generator-plugin-wp, cd to your WordPress plugins folder and:

yo plugin-wp

You'll be prompted with steps for creating your plugin.

Sub-generators

Once your nifty new plugin has been generated, cd into your new plugin's directory. While in the plugin directory, you can run additional commands called sub-generators to automatically generate files to enhance your plugin.

For the names of the include, cpt, options, and widget subgenerators remember that the plugin prefix will be added to the class name so no need to include the original plugin name there. Think of it as the file name for each instead.

Tests

By default the plugin generator adds some built in tests for you to add on to as you develop your plugin. To run these tests run the install-wp-tests.sh script in the bin folder with the proper database details for your local setup.

Once you've run the install-wp-tests.sh script you can run just phpunit in the main folder of your plugin.

If you don't want tests included in your plugin when it is generated run the main generator with the --notests option.

PHP 5.2

By default PHP 5.2 is not supported in the generated plugin. To generate a plugin with PHP 5.2 support, run the main generator with the --php52 option.

CMB2

CMB2 is included by default with the options sub-generator. It can also be a useful tool with CPT and taxonomy sub-generators using the --cmb2 flag.

Adding Packages with Composer

If you chose composer as the autoloader option during the plugin's initiation, you can use composer to add additional dependencies.

Let's cd into our new plugin's directory and add CMB2:

composer require cmb2/cmb2

CMB2 will now appear under vendor

-plugins
  -wds-foo-plugin
    -vendor
      -cmb2
        -cmb2

Contributors

The following humans contributed to this awesome generator:

CamdenSegal, jtsternberg, jazzsequence, binarygary, bradp, JeffreyNaval, gregrickaby, DevNIX, JPry, RC Lations, tnorthcutt, aubreypwd, JeffMatson

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].