This is the supported development environment for WDS BT: a theme-only container so you do not need PHP or Node installed on the host. The stack matches WebDevStudios/wds-devcontainer: PHP 8.2 and Node 24.
PHP linting uses Composer scripts that call vendor/bin/phpcs and vendor/bin/phpcbf (composer run-script phpcs / phpcs-fix)—no extra wrapper scripts. Run those inside the container (or any Linux/macOS shell with Composer deps installed) for consistent results.
- Open this theme repo in Cursor or VS Code.
- Choose Reopen in Container (or Dev Containers: Reopen in Container from the command palette).
- After the container builds,
postCreateCommandrunsnpm ci && composer install. Usenpm run setupfrom the theme root when you need a full clean install and build.
- PHP 8.2 with Composer and extensions: tokenizer, xmlwriter, simplexml, dom, mbstring
- Node 24
- jq (installed on container create) so
composer installand Cursor-rules sync fromcomposer.jsonsucceed - VS Code extensions: Intelephense, ESLint, Prettier, Stylelint
When you use a full WordPress project (e.g. WDS project template), that project’s devcontainer runs the site; this one is for standalone theme development only.