Overview
March 10, 2026 ยท View on GitHub
This directory contains the source code for the setup tool for helping with initial installation and configuration of Instructor library.
Config Publish Command
Use:
./vendor/bin/instructor-setup config:publish <target-dir>
This publishes package-owned config files from packages/*/resources/config into:
<target-dir>/<package>/...
The legacy publish command is still available and continues to copy full resources directories.
Validation
Use:
./vendor/bin/instructor-setup config:validate <target-dir>
Recommended workflow:
./vendor/bin/instructor-setup config:publish config
./vendor/bin/instructor-setup config:validate config
./vendor/bin/instructor-setup config:cache config --cache-path=var/cache/instructor-config.php