cognesy/instructor-setup

Setup tool for Instructor PHP library

Maintainers

Package info

github.com/cognesy/instructor-setup

Homepage

Issues

pkg:composer/cognesy/instructor-setup

Statistics

Installs: 536

Dependents: 3

Suggesters: 0

Stars: 0


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