Skip to content

[NFR]: make:controller for the MVC flavor #46

Closed

Description

@niden

crest make:controller <name> writes an MVC controller (devtools controller).

Scope

  • The first MVC default path: controller.
  • An MVC stub: a class that extends Phalcon\Mvc\Controller, with indexAction().
  • An existing file stops the command, unless --force is given. devtools always overwrote it.
  • A guidance text after "Created" that names the view folder of the controller.
  • Phalcon v5 and v6.

Open

  • The default folder, for example src/Controllers.
  • A view file for indexAction(), or the guidance text only.
  • devtools --base-class: an option, or a published stub.

Done when

In an MVC project, crest make:controller Users writes UsersController, which extends Phalcon\Mvc\Controller, in the controller path.

Part of #11. Depends on #44.

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 13, 2026

    @niden
    SponsorMemberAuthor

    Resolved in #59

  5. moved this from Backlog to Implemented in Phalcon v5on Oct 13, 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