elhareth/laravel-eloquent-metable
elhareth/laravel-eloquent-metable adds flexible key-value metadata to any Eloquent model via a simple trait, letting you attach custom attributes without extra migrations or schema changes.
meta table, accessors, casting, and query scopes in-house.Adopt when:
Look elsewhere or build in-house when:
For executives (30 seconds): This is a small, free Laravel package that lets us attach flexible extra fields to records without database migrations. It buys speed on config-heavy and per-customer features and reduces schema churn, at the cost of one more third-party dependency maintained by a single author. The 1.0 release is the signal that it is stable enough to evaluate in production. Recommendation: pilot on one non-critical feature, no broad rollout yet.
For engineering: Generic metable behavior for Eloquent models — polymorphic metadata with casts, plus ULID support as of v1.0.0. The 1.0 tag is new and the changelog is not detailed enough to assess regression risk; review the source and test coverage directly before adoption. Known trade-off: meta lives in JSON, so querying and aggregation on meta values will not scale — use it for the long tail of attributes, not for fields you will report on. Please return an opinion on build-vs-adopt against our existing schemaless-attributes usage and flag any query patterns in our codebase that would fight this design.
Decision requested: Approve a timeboxed spike (1–2 days) on a low-risk feature; no production commitment until the maintenance-risk review lands.
How can I help you explore Laravel packages today?