Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/shelob9/wordpress-plugin
- Owner: Shelob9
- Created: 2020-11-05T16:14:31.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-12-01T22:35:25.000Z (about 2 years ago)
- Last Synced: 2024-10-04T13:26:17.997Z (3 months ago)
- Topics: php, phpunit, react, typescript, wordpress
- Language: JavaScript
- Homepage: https://shelob9.github.io/wordpress-plugin/
- Size: 477 KB
- Stars: 25
- Watchers: 6
- Forks: 11
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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.