Skip to content

[NFR]: crest new for the MVC flavor #47

Closed
Closed

Description

@niden

crest new my-app --flavor=mvc writes an MVC project that runs (devtools project --type=simple).

Scope

  • A --flavor option and its question. The default is adr.
  • MVC project stubs: composer.json, crest.php, the front controller (Phalcon\Mvc\Application with DI), the providers, the docker files and the launcher, as for ADR.
  • A first IndexController from the controller stub, with its view. GET / answers.
  • A layout like the Phalcon sample applications (vokuro, invo).
  • stub:publish can publish the MVC project stubs before the project exists.
  • Phalcon v5 and v6.

Open

  • The view engine: phtml, Volt, or a choice (devtools --template-engine).
  • The view folder and the cache folder.

Done when

After crest new my-app --flavor=mvc, crest up and crest install, GET / shows the index view. A test sends GET / through the generated application, as for ADR.

Part of #11. Depends on #45, #46.

Activity

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

    @niden
    SponsorMemberAuthor

    Resolved in #60

  5. moved this from Backlog to Implemented in Phalcon v5on Oct 14, 2026
  6. moved this from Implemented to Released in Phalcon v5on Nov 29, 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