Repository navigation
Labels
enhancementNew feature or request
Description
Goal: a released, documented crest on Packagist: 1.0. When the sub-issues of this issue and the checklist below are done, crest is tagged 1.0 (owner, 2026-11-27).
- Per-command documentation, generated from the command definitions where possible. Reviewed when we are ready to tag (owner, 2026-11-27).
- README: make it shorter, and point to the documentation page, which has the full text (owner, 2026-11-27). Reviewed when we are ready to tag.
- Migration guide from devtools, command by command ([NFR]: Migration guide from devtools #105)
- Version, changelog, release process. Reviewed when we are ready to tag (owner, 2026-11-27).
- Publish to Packagist
- Global install and hand-off (below): [NFR]: Handoff to crest local #27, PR T27 handoff #35
The issues for 1.0 (sub-issues)
| Issue | Item | Depends on |
|---|---|---|
| #100 | Release update for cphalcon 5.24.0 and phalcon/phalcon 6.0.0 |
the two tags |
| #101 | make:model --all: no sequences and no partitions (the rest of #88) |
#100 |
| #82 (#97) | crest init --database: the checks of a project that exists |
- |
| #87 | make:model: SQLite foreign keys |
phalcon/cphalcon#17814, #17815 (in 5.24.0 and 6.0.0) |
| #86 | make:model: a schema for each table |
phalcon/cphalcon#17816 (in 5.24.0 and 6.0.0); a short design |
| #102 | Test services: MySQL 8.4 and MariaDB 11.4 | - |
| #103 | CI: a Windows job for the hand-off and the command lookup | - |
| #105 | Migration guide from devtools | - |
After 1.0 (owner, 2026-11-27)
- 1.0.x: [NFR]: Skeleton packages for
composer create-project#31, the skeleton packages (MVC first). They need the tag. - 1.x: [NFR]: CLI flavor #12 (the CLI flavor, 1.1), [NFR]: repl: a PHP shell with the project's container #104 (
repl; then devtools is archived, [NFR]: Retire devtools #13), [NFR]: Runtime command: cache:clear #22 (cache:clear), [NFR]: Package-contributed commands #9 (commands from packages, withphalcon/migrations), [NFR]: CI and tooling #14, [NFR]: Extract the console core #15, [NFR]: Micro flavor #17.
Two install forms
| Role | Commands | Install |
|---|---|---|
| Project | every command that reads a project | composer require --dev phalcon/crest (vendor/bin/crest) |
| Host | new, up, down, install |
composer global require phalcon/crest |
new,upandinstallrun before the project has avendor/folder, so they need a crest outside the project ([NFR]: Project commands #8).- Hand-off: a global crest that runs a project command inside a project passes it to the project's
vendor/bin/crest. Done in [NFR]: Handoff to crest local #27 (PR T27 handoff #35). - A global crest prints
crest: <root> has no vendor/bin/crest; run 'crest install' or 'composer install' firstfor a project command in a project with novendor/bin/crest([NFR]: Handoff to crest local #27, PR T27 handoff #35). - Phar: later, and only if users ask.
stub:publishusesglob(), which does not work onphar://paths. Fix that first. - No docker image as a distribution. It fits
newonly.
Pre-release checklist
- Pin
phalcon/phalcon:composer.jsonhasv6.0.x-dev, a branch, not a tag ([NFR]: Release update for cphalcon 5.24.0 and phalcon/phalcon 6.0.0 #100). - Decide the public API (owner, 2026-11-27). The API for a package is the types with
@api(since53f2117),ProjectCommandis@internal, and a path key from a package must be declared increst.php. The rest is decided with [NFR]: Package-contributed commands #9. -
@internalonCrest\Project\Config. - Decide if
infection/infectionstays inrequire-dev: no, local only (removed in PR T8 project commands #21). - Manual end-to-end run of
crest new: generate, install, send a request ([NFR]: Project commands #8), on cphalcon 5.24.0, the lowest version thatcrest newaccepts after [NFR]: Release update for cphalcon 5.24.0 and phalcon/phalcon 6.0.0 #100. - Check that
archive.excludeincomposer.jsonkeepsresources/stubs/. -
NewCommand::CREST: fromdev-masterto the constraint of the first release. - At the release: the
composer require --dev phalcon/crestmessages ofHandOffandinitwork. - At the release: remove the "no tagged release" text and
:dev-masterfromREADME.md,docs/index.mdand the twocrest.mdxpages. - macOS, a check by hand: the crest Dockerfile with GID 20 (
-o), and the hand-off. - Windows: the CI job of [NFR]: CI: a Windows job for the hand-off and the command lookup #103. Native Windows with docker is best effort.
- Publish
resources/setup.shas the release filesetup.sh, and setcrest_versionin it to the release version ([NFR]: One-line setup for docker-only users #30). - Point
https://phalcon.io/crest-setuptohttps://github.com/phalcon/crest/releases/latest/download/setup.sh, and change the GitHub URL inREADME.md("With docker only") ([NFR]: One-line setup for docker-only users #30). - A deprecation notice on
phalcon-devtoolsthat points to crest and to the migration guide ([NFR]: Migration guide from devtools #105, [NFR]: Retire devtools #13).
Done when
-
composer require --dev phalcon/crestgives a working, documented tool for all project commands. -
composer global require phalcon/crestgivesnew,up,downandinstall, and passes project commands to the project's crest.
Sub-issues
Collapse Sub-issuesSub-issues
Loading 8 sub-issues
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Type
Projects
- StatusShow more project fieldsActive Sprint
Activity
Merge pull request #113 from phalcon/T16-internal-config
Merge pull request #115 from phalcon/T16-gitattributes
[#16] - adding infection/infection to require-dev, to check in CI if …
[#16] - removing a check that changes nothing from ModuleLocation::fo…
[#16] - adding tests for the mutants that Infection 0.32 finds: the v…
[#16] - adding a CI job that runs Infection on all of src/ (PHP 8.4, …
[#16] - updating changelog
[#16] - adding a route:list test that does not depend on the order of…
[#16] - adding a route:list test for an action folder that does not e…
Merge pull request #121 from phalcon/T16-php-8.2