spatie/laravel-schemaless-attributes
Add “schemaless” JSON attributes to Laravel Eloquent models. Store arbitrary key/value data in one JSON column with a fluent API: get/set via properties or arrays, dot-notation access, defaults, forget keys, and query scopes for matching attributes.
Executives: "This package lets us ship dynamic features—like customizable user dashboards or flexible product configurations—in days instead of weeks. By eliminating database migrations for new data fields, we reduce engineering costs by 40% while accelerating time-to-market for customer-driven innovations. Spatie’s battle-tested solution ensures reliability without compromising our ability to adapt to market changes."
Engineering: "It integrates seamlessly with Eloquent via a single trait and cast—no custom code needed. We get native dot-notation access, query scopes for nested JSON, and automatic serialization/deserialization. With active maintenance (Laravel 6–13 support, PHP 8+), Spatie’s reputation means zero maintenance burden. This solves our dynamic data needs in <1 hour of setup versus weeks of custom development."
How can I help you explore Laravel packages today?