https://github.com/jenkoian/wp-composer-plugin-example
https://github.com/jenkoian/wp-composer-plugin-example
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jenkoian/wp-composer-plugin-example
- Owner: jenkoian
- License: mit
- Created: 2021-04-16T08:58:43.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-16T09:02:42.000Z (about 5 years ago)
- Last Synced: 2025-04-25T04:43:22.237Z (about 1 year ago)
- Language: PHP
- Size: 19.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WP Composer Plugin Example
An example of a WordPress plugin using composer etc.
## Tests
Ensure you have copied across `.env` vars.
`cp tests/.env.dist tests/.env`
You can run the tests by running the following command:
`bin/phpunit`
> There is a requirement that a test database exists. You can easily create one by running `tests/create-test-db.sh`