`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
niden commentedon Oct 13, 2026
Resolved in #59