You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[NFR]: Show the model names: config:show and the old files of a renamed class #71
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.
Activity
niden commentedon Oct 31, 2026
Resolved in #73