PHP, Node.js, and Composer
Choose global runtimes or pin a version per project.
A version for each project
Global in the inspector follows Yard’s default. A specific selection pins that project. yard php and yard composer use its PHP version.
yard php:list
yard php:install 8.4
yard isolate 8.4
yard php -v
yard composer install
yard unisolate returns to the global version. A missing pinned version produces an error; Yard does not silently replace it.
Node and .nvmrc
yard node:list
yard node:install 22
yard isolate-node 22
Node uses nvm. Per-project configuration uses .nvmrc, shared by its workspaces and processes.
PHP extensions
Yard provides verified Xdebug and SPX modules for every downloadable PHP version: 8.0–8.5 on Apple Silicon (NTS). Update an existing PHP 8.0 installation in Yard before installing its modules. See the compatibility guide.
yard php:extensions
Check the extension matrix before installing a module. Available PHP versions depend on provider releases.