Skip to content

[NFR]: The options of make:model #53

Closed
Closed

Description

@niden

Decide which devtools model options crest keeps, and add them. Do not port all of them.

devtools had --namespace, --extends, --base-class, --abstract, --get-set, --camelize, --doc, --annotate, --mapcolumn, --relations, --fk, --schema, --excludefields and --output.

Notes

  • --namespace and --output are the model path in crest.php.
  • --extends and --base-class can be a published stub.
  • --relations and --fk had no effect in devtools: each model got its relations.
  • With --force, devtools kept the methods of the user from the old file.

Open

  • The candidates: --camelize with --mapcolumn, --get-set, --abstract, --schema, --excludefields.
  • --force that keeps the methods of the user.

Done when

The options that stay are in the docs, and each has tests. This issue can split into one issue for each option.

Part of #11. Depends on #50.

Activity

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

    @niden
    SponsorMemberAuthor

    Resolved in #68

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