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]: Skeleton packages for composer create-project #31
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).
Activity