Skip to content

[NFR]: Hand-off with a custom vendor-dir or bin-dir #34

Closed

Description

@niden

Summary

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.

Related: #27.

Activity

  1. self-assigned this
    on Sep 28, 2026
  2. added theissue type on Sep 28, 2026
  3. added
    enhancement
    on Sep 28, 2026
  4. niden commented on Oct 13, 2026

    @niden
    SponsorMemberAuthor

    Resolved in #43

  5. moved this from Implemented to Released in Phalcon v5on Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions