mmanos/laravel-metable
Add metadata to Eloquent models with a simple key-value interface. Attach arbitrary attributes to any model without schema changes, query them efficiently, and keep your tables clean.
spatie/laravel-schemaless-attributes, or plain JSON columns (MySQL 5.7+/Postgres) with generated columns for indexing. JSON keeps one row per entity, avoids N-way joins, and is far easier to reason about in reporting.Bottom line: this is not an adoption recommendation. mmanos/laravel-metable is a Laravel 4 package last released in July 2015 with 14 stars and no maintainer. It is end-of-life and carries unmanaged maintenance and security risk with zero vendor support. Do not add it to the dependency tree.
What is worth taking from it is the underlying pattern: attaching arbitrary key/value metadata to core entities to avoid schema churn for sparse, customer-specific attributes. That pattern maps directly to a recurring product question — do we let customers define their own fields? — and it is cheap to own.
Recommendation to engineering: implement a small internal trait plus a polymorphic meta table (or, preferably, a JSON column with generated indexes where query patterns are known), backed by tests. Use this repo as prior art for the trait API, and keep the design explicitly scoped to attributes we will never filter or aggregate on at scale. Roughly one to two sprints, fully owned, no third-party risk.
Recommendation to the business: we get the product capability without inheriting a decade-old dependency. The only cost is a small amount of internal build, which we would have to do anyway the moment we needed a bug fix.
How can I help you explore Laravel packages today?