code-soup / wordpress-plugin-boilerplate

WordPress plugin boilerplate with Webpack and Composer. Remove repetitive tasks from your workflow, keep it simple and make coding fun again.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WordPress Plugin Boilerplate

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.

Setup

Follow Setup instructions here

Issues

Please use Github issues to submit any bugs you may find.

Documentation

Plugin documentation with instalation instruction and best practices can be found at wiki page.

Features

Requirements

Make sure all dependencies have been installed before moving on:

Coding Standards

  • 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

License

This project is licensed under the GPL license.

About

WordPress plugin boilerplate with Webpack and Composer. Remove repetitive tasks from your workflow, keep it simple and make coding fun again.

License:GNU General Public License v3.0


Languages

Language:PHP 37.9%Language:Shell 24.2%Language:SCSS 19.7%Language:JavaScript 18.2%