cognesy / instructor-setup
Setup tool for Instructor PHP library
v2.3.1
2026-03-30 09:17 UTC
Requires
- php: ^8.3
- cognesy/instructor-utils: ^2.3
- symfony/console: ^7.1
- symfony/filesystem: ^7.1
Requires (Dev)
- icanhazstring/composer-unused: ^0.9.0
- jetbrains/phpstorm-attributes: ^1.2
- maglnet/composer-require-checker: ^4.16
- pestphp/pest: ^2.34
- phpstan/phpstan: ^1.11
- roave/security-advisories: dev-latest
- vimeo/psalm: ^6.0
This package is auto-updated.
Last update: 2026-05-30 11:57:35 UTC
README
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