Updated verision of WordPress Plugin Boilerplate. Includes a Webpack build script and webpack-dev-server for local development. Integrates PHP namespacing and PSR-4 autoloader for better experience.
Follow Setup instructions here
Please use Github issues to submit any bugs you may find.
Plugin documentation with instalation instruction and best practices can be found at wiki page.
Make sure all dependencies have been installed before moving on:
wpcs
: analyze code against the WordPress coding standards with PHP_CodeSniffer.cbf
: fix coding standards warnings/errors automatically with PHP Code Beautifier.lint
: lint PHP files against parse errors.To check a file against the WordPress coding standards or to automatically fix coding standards, simply specify the file's location:
wpcs includes/class-init.php
cbf includes/class-init.php
This project is licensed under the GPL license.