Brick is a WordPress starter plugin that makes for easy and fast plugin creation.
- PHP >= 8.0
- Composer
- Create a new project using Composer:
composer create-project achttienvijftien/brick {{name-of-your-plugin}} - Follow the steps in INITIAL-SETUP.md.
- 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