This is a set of WordPress utilities and missing functions.
- PHP >= 8.0
- Composer
- Require
achttienvijftien/wp-extrasmust use plugin:composer require achttienvijftien/wp-extras
- Move
wp-extras.phpto your mu-plugin folder; - Good to go!
- Install Composer packages:
composer install - Install the correct Node.js version:
nvm install - Install NPM packages:
yarn - Start wp-env
yarn wp-env start - Check if test suite is ready:
yarn test - When test result is OK you're ready to start writing tests in test/php