/wordpress-plugin-tests

WordPress plugin starter template with all of the things.

Primary LanguageJavaScript

WordPress Plugin

Josh's opinionated boilerplate and template for WordPress plugin with PSR-4 autoloader, TypeScript, Docker, Github actions, and other fun stuff.

JavaScripts PHP Unit Tests WordPress Tests

Creating Your Own

The steps to generate your own plugin are documented in Getting Started.

Everything

This option includes everything: local dev, Typescript, composer autoloader, PHP tests, JavaScript tests, etc.

Basic

This version has less things, it does not use Yarn workspace or Typescript or composer. It generates one PHP file that can load JS/CSS and a WordPress-friendly webpack config for a React-powered admin interface and a block.

Documentation

Contributing

Please feel free to open a pull request if you would like to contribute.