Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shelob9/wordpress-plugin

WordPress plugin starter template with all of the things.
https://github.com/shelob9/wordpress-plugin

php phpunit react typescript wordpress

Last synced: 3 months ago
JSON representation

WordPress plugin starter template with all of the things.

Awesome Lists containing this project

README

        

# WordPress Plugin

[Josh](https://joshpress.net)'s opinionated boilerplate and template for WordPress plugin with PSR-4 autoloader, TypeScript, Docker, Github actions, and other fun stuff.

![JavaScripts](https://github.com/Shelob9/wordpress-plugin/workflows/JavaScripts/badge.svg)
![PHP Unit Tests](https://github.com/Shelob9/wordpress-plugin/workflows/PHP%20Unit%20Tests/badge.svg)
![WordPress Tests](https://github.com/Shelob9/wordpress-plugin/workflows/WordPress%20Tests/badge.svg)

## Creating Your Own

The steps to generate your own plugin are documented in [Getting Started](https://shelob9.github.io/wordpress-plugin/).

### Everything

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

- [Documentation](https://shelob9.github.io/wordpress-plugin#everything)

### 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](https://shelob9.github.io/wordpress-plugin#basic)

## Documentation

- [Getting Started](https://shelob9.github.io/wordpress-plugin/)
- [PHP](https://shelob9.github.io/wordpress-plugin/php)
- [JavaScript](https://shelob9.github.io/wordpress-plugin/javascript)
- [Local Development](https://shelob9.github.io/wordpress-plugin/local-dev)
- [CI/CD](https://shelob9.github.io/wordpress-plugin/cicd)

## Contributing

Please feel free to [open a pull request](https://github.com/Shelob9/wordpress-plugin/pulls) if you would like to contribute.