Skip to content

[NFR]: Models in an ADR project #84

Closed
Closed

Description

@niden

crest make:model works only in an MVC project. ADR projects often do not use Active Record models: they use repositories. Crest has no generator for the data layer of an ADR project.

Scope

  • A generator for the data layer of an ADR project. Possible: crest make:repository <table>, or make:model in ADR with a db service in the Phalcon DI.
  • The ADR stubs, and stub:publish for them.
  • Docs.

Open

  • Repository, model, or both. The shape of the class that crest writes.
  • If the generator reads the table from the database, as make:model does.

Done when

  • In an ADR project with a database, the chosen command writes a class that the project can use to read and write a table.
  • The docs show the command.

From #50.

Activity

  1. added
    enhancement
    on Nov 21, 2026
  2. self-assigned this
    on Nov 21, 2026
  3. added theissue type on Nov 21, 2026
  4. added 3 commits that reference this issue on Nov 22, 2026
  5. niden commented on Nov 22, 2026

    @niden
    SponsorMemberAuthor

    Resolved in #92

  6. moved this from Backlog to Implemented in Phalcon v5on Nov 22, 2026
  7. added a commit that references this issue on Nov 22, 2026
  8. 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