watheqalshowaiter/model-fields
Easily add custom fields to Laravel Eloquent models with watheqalshowaiter/model-fields. A simple trait stores dynamic, validated attributes as JSON, letting you extend models without extra migrations or schema changes.
$fillable/casts, form-request validation rules, API resources, and factories by introspecting an existing database schema. That directly informs the build-vs-generate decision for new services layered onto a legacy or DBA-owned schema — a common enterprise pattern where the database is the contract and Laravel models must shadow it.Positioning note for roadmap discussions: the package is a developer productivity tool, not runtime infrastructure. It touches the build/authoring workflow, not request handling, so it carries low production risk and low operational ownership burden — but it also delivers no end-user-facing capability, so it should be justified against engineering time, not product outcomes.
Adopt when most of the following hold:
Look elsewhere, or plan to hand-roll, when:
Assessment of 3.2.2 specifically: this is a compatibility release adding Laravel 13 support, with no breaking changes, deprecations, or new generator capabilities. It is a positive maintenance signal — the maintainer is tracking framework releases promptly, which matters for a package coupled to Laravel internals — but it does not change the adoption calculus. Upgrade is low-risk; there is no functional reason to accelerate a migration to Laravel 13 on account of this package alone.
For executives (one paragraph): This is a small, free, open-source developer tool that writes Laravel code automatically from an existing database. It does not touch production runtime, adds no infrastructure, and carries no licensing cost or vendor lock-in — it can be removed at any time with no customer impact. Its value is engineering time: on projects that layer Laravel onto an existing database, it can compress days of repetitive model-and-validation authoring into minutes and reduce a common class of bugs where the database changes but the application code does not. The latest release (3.2.2) simply adds support for the newest Laravel version, which tells us the tool is actively maintained. Recommendation: allow individual teams to use it as a scaffolding aid; do not build a process dependency on it without a deliberate decision.
For engineering leads: Treat it as a bootstrap accelerator, not infrastructure. Run it against a real schema branch, review the generated migrations, factories, and form requests as you would a junior engineer's pull request, and then own the output. Budget an hour of evaluation against your most awkward tables — enums, views, composite keys, custom types — because that is where introspection-based generators typically fall short. Because generated validation rules are mechanical, plan for a human pass to add business rules and authorization. Pin the version and note the Laravel constraint in your upgrade runbook; 3.2.2 is additive and safe, but the package sits close enough to framework internals that a major Laravel upgrade should include a check against it. If you intend to regenerate on every schema change, agree up front on who reviews the diffs and how formatting churn is suppressed — otherwise the tool quietly becomes a source of noisy pull requests.
How can I help you explore Laravel packages today?