r94ever/laravel-model-setting
r94ever/laravel-model-setting lets Laravel Eloquent models carry their own flexible key-value settings. Add the trait, then store and retrieve per-model configuration through a simple API, avoiding extra boilerplate while keeping settings close to the models that use them.
Architecture fit
whereSetting()") confirms the package exposes settings through Eloquent query scopes — a Laravel-idiomatic pattern (service provider + auto-discovery, likely a published config and migration, a settings table queried via scope or join).Integration feasibility
composer require, publish migration/config, run migration, adopt the scope. A single bounded read path is enough to evaluate it.model_type/model_id) vs. key-value vs. JSON column. That choice determines index design, multi-tenancy story, and DB portability.Technical risk
whereSetting() returning wrong results, and 1.0.1 fixes it. Any consumer on 1.0.0 may have shipped incorrect data, reports, or access decisions with no error surfaced. This is the single most important fact in the release.orWhere.Key questions
whereSetting()?orWhere?whereJsonContains are not portable to older MySQL/SQLite)?Stack fit
whereSetting scope name and any config key namespace can clash with in-house helpers.Migration path
Compatibility
1.0.1; do not float ^1.0 until the changelog discipline improves.Sequencing
orWhere) — do not rely on upstream coverage.Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?