Needs: Docker + Node 18+ + PHP 8.2+ + Composer.
nvm use
npm install
composer install
npm run env:start→ http://localhost:9888/wp-admin — login admin / password
- Activate Haydi in Plugins
- Go to Tools → Haydi, configure your AI connector in Settings → Connectors
- Start chatting
# PHP unit tests (no running WordPress required)
vendor/bin/phpunit
# JS unit tests (no browser required)
npm run test:unit
# Integration tests (requires env:start)
npm testnpm run env:stop # pause
npm run env:destroy # wipe everything
npm run env:logs # PHP/WP logs