zachleigh/laravel-property-bag
Add a flexible property bag to Laravel Eloquent models: store arbitrary key-value data as JSON without extra tables or migrations, with a clean API for setting, getting, and managing custom properties.
Look elsewhere when:
spatie/laravel-settings, a custom JSON column + cast/trait, or a dedicated configuration service.Executives: This package addresses a common but non-differentiating need: attaching settings to Laravel models. It is MIT-licensed and inexpensive to evaluate, but it is archived and has not been released since January 2020, so it should not become a new strategic dependency. The recommended play is to use it as a low-cost reference to validate demand and inform an in-house or maintained solution—avoiding vendor risk while keeping roadmap momentum. If it is already in the codebase, contain usage and schedule migration rather than expanding it.
Engineering: Treat zachleigh/laravel-property-bag as a pattern reference, not a production default. It demonstrates a simple property-bag approach for model settings, but the lack of maintenance means compatibility, security, and support risks. If adopted, fork and pin it, add regression tests, document ownership, and define an exit path. For new work, implement a small internal trait backed by a JSON column or evaluate a maintained settings package.
How can I help you explore Laravel packages today?