WordPress Extension

Validation dependencies

Some WordPress plugins are intentionally layered on top of other local plugins. The WordPress extension can load those local dependencies during validation so PHPStan, the autoload preflight check, and PHPUnit all run with the expected plugin graph instead of in false isolation.

Configure dependencies in the component’s WordPress extension settings:

json
{
  "extensions": {
    "wordpress": {
      "settings": {
        "validation_dependencies": "data-machine"
      }
    }
  }
}

Supported value shapes:

  • single component ID: data-machine
  • comma-separated list: data-machine, other-plugin
  • newline-separated list
  • JSON-array string: ["data-machine", "other-plugin"]

Each dependency entry may be either:

  • a registered Homeboy component ID
  • an absolute path to another local plugin checkout