You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[NFR]: Hand-off with a custom vendor-dir or bin-dir #34
The hand-off (#27) looks for vendor/bin/crest next to composer.json. A project with config.vendor-dir or config.bin-dir gets no hand-off, or the error "has no vendor/bin/crest". Low priority: this is rare.
Scope
Read config.vendor-dir from the project's composer.json (default vendor).
Run <vendor-dir>/phalcon/crest/bin/crest directly, not the bin-dir proxy. This removes bin-dir from the problem.
The loop guard and the error message use the same path.
Open
The COMPOSER_VENDOR_DIR environment variable.
Note
"bin/crest loads the autoloader of the install that runs it" changes the same code. Do that one first, or both together.
Done when
A project with "config": {"vendor-dir": "lib"} gets the hand-off, and the gates are clean.
This work moves to #42, with the other open items before the 1.0 release. The pull request for #42 closes this issue.
Activity
niden commentedon Oct 13, 2026
Resolved in #43