Skip to content
Wordpress Plugin Boilerplate, only with more cool stuff!
Branch: master
Clone or download
Latest commit 8ef37ed May 29, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Added .github/ (optional) Sep 7, 2017
plugin-name remove last unless traces May 28, 2019
.gitignore working on ajax tests Sep 18, 2018 cleaning Oct 22, 2018 added phpstan May 7, 2019

WordPress Plugin Boilerplate Powered


Backers on Open CollectiveSponsors on Open Collective

WordPress Plugin Boilerplate Powered is a complete foundation for building your WordPress plugins.
This project started because mainly the WordPress plugin boilerplates available was too minimal for who is building a lot of plugins.
Every experienced WordPress developers use always the same libraries (or snippets) and with Composer is very easy but at same time follow best practices.
Choose a library or a snippet and the boilerplate (with the help of the Code Generator) will generate everything without need a manual copy&paste way or look on internet!


Libraries and Miscellaneus available

  • Code Generator to start to develop
  • Sass support, CoffeScript and Grunt (not mandatory because the generator can remove them)
  • Autoload based on Composer but extended
  • Tools integrated like GrumpPHP (automatically on commit) and PHPStan (php7.2 vendor/bin/phpstan analyze)
  • Many libraries already available (with starter code) for Composer
WPBP Libraries Other libraries
WPBP/PointerPlus CMB2/CMB2
WPBP/CronPlus kevinlangleyjr/wp-contextual-help
WPBP/Widgets-Helper nathanielks/wp-admin-notice
WPBP/FakePage origgami/CMB2-grid
WPBP/Template johnbillion/extended-cpts
WPBP/Debug Freemius/wordpress-sdk
WPBP/CPT_Columns julien731/WP-Dismissible-Notices-Handler
WPBP/Language julien731/WP-Review-Me

Snippets available

  • Dashicon as dependence of admin stylesheet
  • Bubble notification on pending CPTs
  • Import/Export settings
  • Custom capabilities with CPTs and taxonomy support
  • wp_localize_script for pass PHP var to JS in the frontend
  • Class in frontend body with the slug of plugin
  • Shortcode example included
  • WPCLI support
  • Support for your CPTs in Activity widget in dashboard
  • Support for CMB in the options page
  • Transient examples with caching

Do you want to see which plugins have been made with this boilerplate? Check here!

Check the Wiki for other info (shell scripts, resources, libraries and tools as example).


This project exists thanks to all the people who contribute.


Thank you to all our backers! 🙏 [Become a backer]


Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]


The WordPress Plugin Boilerplate Powered is licensed under the GPL v2 or later; however, if you opt to use third-party code that is not compatible with v2, then you may need to switch to using code that is GPL v3 compatible.

You can’t perform that action at this time.