Skip to content

[NFR]: Show the model names: config:show and the old files of a renamed class #71

Closed

Description

@niden

crest config:show does not show the models key of crest.php (#53). When a new models.classes line gives a table with a model another class, crest writes the new pair, and says nothing about the old pair.

Scope

  • config:show, in an MVC project: models.camelCase (the value, and declared or default) and a table of the models.classes lines (table, class). A wrong models value does not stop config:show: its row shows the error, and make:model still stops on it.
  • make:model: when the class of a table comes from models.classes, and the base of the default class of the table (<Class>Base.php, with the crest marker) exists, a Note line names the old pair, and tells the user to move the code and delete the old files. crest deletes nothing.
  • Docs: crest does not make singular class names (users gives Users); a classes line gives one.

Open

  • The text of the Note line.

Done when

  • In an MVC project with a models key, crest config:show shows camelCase and each classes line, with the origin.
  • After 'users' => 'User' is added for a table with a model, crest make:model users prints the Note line for Users.php and UsersBase.php.

Part of #11. Depends on #53.

Activity

  1. self-assigned this
    on Oct 19, 2026
  2. added theissue type on Oct 19, 2026
  3. moved this from Backlog to Active Sprint in Phalcon v5on Oct 19, 2026
  4. niden commented on Oct 31, 2026

    @niden
    SponsorMemberAuthor

    Resolved in #73

  5. moved this from Active Sprint to Implemented in Phalcon v5on Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

  • Status
    Implemented

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions