Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Model Settings Laravel Package

glorand/laravel-model-settings

Add per-model settings to Laravel Eloquent with an easy API to get/set/check/remove values. Choose storage via JSON field, separate settings table, or Redis. Supports defaults, validation, and persistence for user or entity preferences.

View on GitHub
Deep Wiki
Context7
9.0.2
9.0.0

V9 is a major refactor that unifies the storage backends into a single, configuration-driven system. This release simplifies the API surface, reduces boilerplate, and provides better extensibility for custom drivers.

🔄 Breaking Changes Migration Required — see MIGRATION_GUIDE_8_to_9.md

Removed HasSettingsField, HasSettingsTable, HasSettingsRedis traits Removed flat settings_* config keys (env vars unchanged) Requires PHP 8.2+ and Laravel 12–13 (dropped 10/11, PHP 8.1) Mutations (set, update, delete, etc.) now persist only overrides; defaults are no longer copied into storage Validation runs against the effective (merged) result, not just persisted data table and redis drivers throw ModelSettingsException when model has no primary key Redis driver deletes the storage key on clear() instead of storing empty array

8.0.3
8.0.2

What's Changed

  • fix: nullable type parameter deprecation on PHP 8.4

New Contributor

@jamesdb made their first contribution in https://github.com/glorand/laravel-model-settings/pull/128

8.0.1

What's Changed

New Contributors

Full Changelog: https://github.com/glorand/laravel-model-settings/compare/8.0.0...8.0.1

6.0.3
6.0.2
6.0.0

Laravel 10 support, and dropped Laravel 9.

5.0.1
5.0.0

What's Changed

Full Changelog: https://github.com/glorand/laravel-model-settings/compare/4.4.1...5.0.0

4.4.1
4.4.0
  • Validation system for settings data
4.3.0
  • Using another method name other than settings()
4.2.2

fix: Parameter type

4.2.1
  • PHP8 support
4.2.0
  • Refactor the work with default settings (flatten arrays)
4.1.0
  • Refactor unit tests
4.0.2
4.0.1
4.0.0
  • Add support for Laravel 8
  • Drop support for Laravel 5.8 and lower
  • Drop support for PHP 7.1 and lower
3.7.0

FIX: HasSettingsField now adheres to $connection override on model

3.6.7
3.6.6

default configs for a table in model_settings.php config file

3.6.5
  • code refactor
  • use Cache facade instead of cache() helper function
3.6.4

GitHub actions

3.6.3

Console test && empty function (#54)

3.6.2

Check settings (exist) (#53)

3.6.1

Fix #50

3.6.0

Add support for Laravel 7 (#49)

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
calliostro/spotify-bundle
calmfox/watch-sylius
damienfern/grpc-symfony-bundle
atoolo/index-bundle
atoolo/genai-bundle
coprotoai/laravel-ticket
davidjln/llm-carbon-bundle
cryonighter/valid-request-bundle
coolms/taxonomy-bundle
coolms/field-bundle
articulate-orm/symfony
aaix/laravel-tall-architect
ephoto/akeneo-connector
emmanuelballery/eb-plantumlbundle
emielburgman/symfony-visitor-beacon
emielburgman/symfony-visit-storage
emielburgman/symfony-security-headers
emielburgman/symfony-log-viewer
emarref/xdebug-bundle
emarref/pubnub-bundle