adrianoferreira / wp-plugin-skeleton
A simple skeleton for building WordPress plugins
Installs: 73
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 2
Forks: 0
Open Issues: 2
pkg:composer/adrianoferreira/wp-plugin-skeleton
Requires
- twig/twig: ^3.0
Requires (Dev)
- 10up/wp_mock: ^0.4.2
- phpstan/phpstan: ^0.12.31
- phpunit/phpunit: ^9
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: 3.*
- szepeviktor/phpstan-wordpress: ^0.6.1
This package is auto-updated.
Last update: 2025-09-29 02:57:54 UTC
README
That's just another skeleton for quickly prototyping of WordPress plugins.
It comes out of the box with:
- PHPStan
- PHP_CodeSniffer
- PHPUnit
- Travis Yaml file
- Twig
- Make commands
Installation
It's recommended that you use Composer to install this library.
Inside of wp-content/plugins
run the command:
$ composer create-project adrianoferreira/wp-plugin-skeleton:dev-master
Make commands
Make a production build of the plugin and place it inside of the ./build
folder:
$ make build
Run unit tests, style check and static files check:
$ make test
Development build:
$ make dev