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