wordpress-plugin-boilerplate

An organized and object-oriented boilerplate for WordPress plugin development and testing. Includes Composer, Codeception (unit/acceptance testing), PHPCodeSniffer with WordPress Coding Standards to validate your code, TravisCI configuration for automatic testing & continuous integration, Webpack 5 for front-end development incl. BabelJS v7, Bro…

pluginwordpresswordpress-pluginboilerplatewordpress-developmentwordpress-boilerplatewordpress-development-kittypescripteslintprettierpostcssi18n
FreeRepo

Preview

wordpress-plugin-boilerplate preview

Overview

This WordPress plugin boilerplate provides a structured, object-oriented foundation for building WordPress plugins with modern development tools. It includes Composer for dependency management, PHPCodeSniffer for code validation, Codeception for testing, TravisCI for continuous integration and an optional Webpack 5 workflow for front-end assets with SCSS, PostCSS and minification.

Features

composer-dependency-managementpsr-4-autoloaderobject-oriented-structureauto-instantiating-classesphpcodesniffer-lintingwordpress-coding-standardscodeception-testingunit-testingacceptance-testingplugin-requirements-validationwebpack-5-bundlerbabel-js-transpilationbrowsersync-developmentpostcss-processingpurgecss-optimizationautoprefixereslint-javascript-lintingprettier-code-formattingstylelint-css-lintingsass-compilationimage-optimizationsource-mapscode-splittingwatch-modei18n-localizationprettified-error-handlingdebug-logging

Feature Flags

userDashboardblogemailsecommercei18nsearchnotificationsimageProcessingmapsformsValidationschedulingCronstestinglintingcodeFormattingsourceMappingcodeSplittingwatchModeerrorTracking

Recommended Use Cases

wordpress-plugin-developmentwordpress-plugin-boilerplatewordpress-development-kitobject-oriented-wordpress-developmentwordpress-plugin-testing

Frontend

javascripttypescriptbabelwebpacksasspostcsseslintprettier

Backend

phpcomposerwordpress

Auth Providers

None

Deployment Targets

wordpress

Payment Providers

None

Quick Facts

⭐ Stars
108
🍴 Forks
32
🧾 License
mit
🔄 Active
Unknown
🕒 Last Commit
2021-01-15T10:14:22Z

Stack

Framework
wordpress
Language
php
CSS
sass
Testing
codeception, phpunit
i18n
wp-pot
CI
travis-ci

Data Layer

Databases
postgresql

UI Stack

Styling
sass-postcss

Developer Experience

Docker
No
Tests
Yes
Quickstart
Yes
env.example
Yes
CI
travis-ci

Pricing

Classification
free
Selected
Notes
Open source boilerplate template
Get Started with this Boilerplate