WordPress-Plugin-Boilerplate-Powered

Wordpress Plugin Boilerplate but Powered with examples and a generator!

GPL-3.0 License

Stars
749
Committers
19

Bot releases are hidden (Show)

WordPress-Plugin-Boilerplate-Powered - 3.3.3 Latest Release

Published by Mte90 8 months ago

  • Enhancement: New filter on \Initialize to get the class instance
  • Updated: CS changes
  • Updated: to latest libraries changes
WordPress-Plugin-Boilerplate-Powered - 3.3.2

Published by Mte90 over 1 year ago

  • Enhancement: Tests use a dedicated .env file instead to manipulate the env file (GitHub/GitLab CI updated)
  • Enhancement: Ajax tests improved to work with latest updates
  • Enhancement: Improvements on editorconfig support @erikyo @johnhooks
  • Enhancement: New Readme @Ryvix
  • Enhancement: NPM and JS stuff improved @erikyo
  • Fix: GitHub CI updated with different NodeJS versions tests @erikyo
WordPress-Plugin-Boilerplate-Powered - 3.3.1

Published by Mte90 over 1 year ago

  • Fix: Replaced Yoast i18n-module with wpbp/i18n-notice to keep support
  • Enhancement: Improvements on Initialize for class detection, thanks to @LucasDemea and @charmoney
WordPress-Plugin-Boilerplate-Powered - 3.3.0

Published by Mte90 about 2 years ago

  • Enhancement: wp-scripts integration
  • Enhancement: Custom block example in React.js
  • Enhancement: JS example with REST and nonce
  • Enhancement: Page-Madness-Detector and Assets package added
  • Enhancement: GitHub Action added Codeception WPunit tests
  • Enhancement: Removed fakepage library
  • Improved: Cli tests better example
  • Removed: Grunt replaced by Webpack

Many thanks to @erikyo for the work on the new React/block stuff!

WordPress-Plugin-Boilerplate-Powered - 3.2.7

Published by Mte90 over 2 years ago

  • Fix: Activation/Deactivation and capabilities are saved rightly
  • Enhancement: Removed language library
  • Updated: i18n-module to a mte90 fork
  • CI: readme.txt validation added
WordPress-Plugin-Boilerplate-Powered - 3.2.6

Published by Mte90 over 2 years ago

  • Enhancement: Bump PHP minimum requirements to 7.4
  • Fix: Some issue on boilerplate generation
WordPress-Plugin-Boilerplate-Powered - 3.2.5

Published by Mte90 over 2 years ago

3.2.5

  • Enhancement: Added support for PHP 8.1
  • Enhancement: Updated DB test dump
WordPress-Plugin-Boilerplate-Powered - 3.2.4

Published by Mte90 about 3 years ago

  • Changes: Now GPLv3 as default
  • Refactor: Is_methods replaced with Context class using inpyside/wpcontext
  • Enhancement: Tagged library added
  • Enhancement: Improved doc for CMB2
  • Enhancement: Updated the dependencies
WordPress-Plugin-Boilerplate-Powered - 3.2.3

Published by Mte90 over 3 years ago

  • Enhancement: Now there are constants for minimum php/wp versions
  • Enhancement: Added wp-super-duper library
  • Updated: CI for latest php versions
WordPress-Plugin-Boilerplate-Powered - 3.2.2

Published by Mte90 about 4 years ago

  • Code is fully checked with new GitHub Action for Static Code analysis (PHPStan), Codee Style (PHPCS) and EditorConfig
  • Now the code is passing everything from PHPStan to PHPCS
  • Fixed example tests cases included
WordPress-Plugin-Boilerplate-Powered - 3.2.1

Published by Mte90 over 4 years ago

  • Enhancement: On .env file some parameters are better with apostrophes
  • Enhancement: Settings now support better the new improvements to WordPress Visual changes of last releases
  • Enhancement: New PHPStan exceptions added
  • Fix: ImpExp class wasn't possible to change the file name exported by generator
  • Fix: Bubble notification is now removed by the generator

Check major version releases for the major changes https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/releases/tag/3.2.0

WordPress-Plugin-Boilerplate-Powered - 3.2.0

Published by Mte90 over 4 years ago

PSR-4 support

This migration forced the project to change all the file naming rules to follow the PSR-4 standard and also a custom way to initialize the classes.
In previous version was required to change manually the https://github.com/WPBP/WordPress-Plugin-Boilerplate-Powered/blob/master/plugin-name/engine/Initialize.php to define the class to load by case (admin/frontend/cli/etc), instead now use the composer autoload to load them if the autoload was optimized (composer dumpautoload -o) otherwise does a scan of the directories to autoload them.

Sadly PHP compared to other languages doesn't scan the folders on his own but require a hand to achieve it.
This system is easy to expand as because auto scan also subdirectories so based on the needs you can create all the folders as namespace that you need.

Why not a src folder?

Honestly as WP plugin based on our needs and feedback there wasn't this need because the basic folders are already defined, anyway as this is a boilerplate it is possible to change and altering as you wish (or start a discussion to implement it).

Wiki

We are keep improving the wiki https://wpbp.github.io/wiki.html with new stuff but we are opened to any new idea or suggestion -> https://github.com/WPBP/wpbp.github.io

Generator

There will be as usual a new version of the generator (https://github.com/WPBP/generator) aligned with the new version.

Freemius-suite

This set of Bash scripts integrates in his workflow the support for this boilerplate to generate and upload the various plugin version -> https://github.com/CodeAtCode/freemius-suite

Changelog

  • Enhancement: Added micropackage/requirements
  • Enhancement: Added yahnis-elsts/plugin-update-checker
  • Enhancement: Improved code style with WPCS
  • Enhancement: Updated example pot files with new folder to exclude
  • Enhancement: PSR-4 support with file and class renaming
  • Enhancement: PHPStan support improved
  • Enhancement: Code optimized with PHPStan help
  • Enhancement: New Initialize class to avoid static class list
  • Removed: mte90/wp-contextual-help
  • Removed: CoffeeScript support
  • Replace: wordpress-admin-notices and WP-Dismissable-Notice-Handler with wpdesk/wp-notice
WordPress-Plugin-Boilerplate-Powered - 3.1.2

Published by Mte90 about 5 years ago

  • Enhancement: Added Seravo/wp-custom-bulk-actions
  • Enhancement: Removed Activity widget support because Extended-Cpts integrated
WordPress-Plugin-Boilerplate-Powered - 3.1.1

Published by Mte90 over 5 years ago

  • Fixed 2 placeholders
  • Use if for the generation instead of unless
WordPress-Plugin-Boilerplate-Powered - 3.1.0

Published by Mte90 over 5 years ago

A new major release with:

  • Added support for phpstan (it is not complete)
  • Scanned the boilerplate with phpstan and fixed some docs issues
  • Improved the Pn_Is class methods
  • Bumped version of few libraries
  • Added phpdoc and phpstan to grumphp
WordPress-Plugin-Boilerplate-Powered - 3.0.3

Published by Mte90 over 5 years ago

  • fixed isse on generation when the library debug is not chosen
WordPress-Plugin-Boilerplate-Powered - 3.0.2

Published by Mte90 over 5 years ago

  • Removed reference to a library for CMB not used anymore
  • Added index.php files in folder where was missing
  • Replace all the reference of CMB2 to the new repo
WordPress-Plugin-Boilerplate-Powered - 3.0.1

Published by Mte90 over 5 years ago

This release include a bump of the various packages and tools used to avoid errors.

WordPress-Plugin-Boilerplate-Powered - 3.0

Published by Mte90 almost 6 years ago

WordPress-Plugin-Boilerplate-Powered - 2.2.1

Published by Mte90 over 6 years ago

  • Many bugfixes and improvements of code indentation
Badges
Extracted from project README's
GitHub CI Workflow
Related Projects