adrianoferreira / wp-plugin-skeleton
There is no license information available for the latest version (dev-master) of this package.
A simple skeleton for building WordPress plugins
dev-master
2020-07-03 14:33 UTC
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: 2024-10-29 05:11:14 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