Skip to content

tlewap/WordPress-Plugin-Boilerplate-Powered

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress Plugin Boilerplate Powered

Logo

Backers on Open Collective Sponsors on Open Collective

WordPress Plugin Boilerplate Powered is a complete foundation for building your WordPress plugins following PSR-4 standard.
The project history is part of the Wiki that also includes the workflow and how it is organized.

Every experienced WordPress developer uses always the same libraries (or snippets) but at the same time follows best practices.
Choose a library or a snippet and the boilerplate (with the help of the Code Generator) will generate everything without the need of manual copy&paste way or searching on the Internet!

Features

Available Libraries and other stuff

  • Code Generator to start development
  • Sass support and Grunt (not mandatory because the generator can remove them)
  • PSR-4 support by Composer but extended to load classes based on request type and folder structure
  • Tools integrated like GrumpPHP (automatically on commit) and PHPStan
  • GitHub Action and GitLab CI available
  • Many libraries already available (with starter code)
WPBP Libraries Other libraries
WPBP/PointerPlus CMB2/CMB2
WPBP/CronPlus micropackage/requirements
WPBP/Widgets-Helper yoast/i18n-module
WPBP/FakePage origgami/CMB2-grid
WPBP/Template johnbillion/extended-cpts
WPBP/Debug Freemius/wordpress-sdk
WPBP/CPT_Columns wpdesk/wp-notice
WPBP/Language julien731/WP-Review-Me
stevegrunwell/wp-cache-remember
Seravo/wp-custom-bulk-actions
yahnis-elsts/plugin-update-checker
AyeCode/wp-super-duper
decodelabs/tagged

Available Snippets

  • Dashicons as dependency of admin stylesheet
  • Bubble notification on pending CPTs
  • Import/Export settings
  • Custom capabilities with CPTs and taxonomy support
  • wp_localize_script for passing PHP variables to JavaScript on the frontend
  • Class in frontend body with the slug of plugin
  • Shortcode example included
  • WP-CLI support
  • Support for CMB2 in the options page
  • Transient examples with caching

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

Contributors

This project exists thanks to all the people who contribute.

Backers

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

License

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

About

Wordpress Plugin Boilerplate but Powered with examples and a generator!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 96.3%
  • JavaScript 1.5%
  • SCSS 1.2%
  • Other 1.0%