Skip to content

[NFR]: Skeleton packages for composer create-project #31

Description

@niden

Summary

Publish one skeleton package per flavor, so that composer create-project phalcon/<skeleton> my-app gives a bare crest project. CI generates each package from the crest stubs.

Why

There is no composer create-project path for a bare crest project. invo and vokuro have one, but they are sample applications.

Decision

  • One package of type project per flavor. ADR first. Other flavors when they exist and users ask for them.
  • No package that holds several flavors. create-project takes no custom arguments, and a selection script would be a second crest new.
  • crest new stays the full path: all flavors, Phalcon variants and options.

Scope

  • A CI job runs crest new with the default values on each crest release, pushes the output to the skeleton package, and tags it. Nobody edits the skeleton by hand.
  • The project requires phalcon/crest in require-dev.
  • A post-create-project-cmd sets the values that depend on the project (for example the name in docker-compose.yml and .env) through vendor/bin/crest, for example
    crest init --no-interaction ([NFR]: crest init and a required crest.php #28).

Open

  • The package names (for example phalcon/crest-skeleton or phalcon/adr-skeleton).
  • Where the CI job runs.
  • Which values the post-create-project-cmd sets.

Depends on

Done when

composer create-project phalcon/<skeleton> my-app gives the same project as crest new my-app, and GET / answers after the install.

Related: #16, #28.

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. moved this from Backlog to Active Sprint in Phalcon v5on Oct 17, 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

  • Status
    Active Sprint

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions