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
8.0.1

Added

  • Rename HasSettings::getRules to HasSettings::getSettingsRules
8.0.0

Added

  • Add support for Laravel 12
7.0.0

Added

  • Add support for Laravel 11
  • 8.1 min. php version
5.0.0

Added

  • Add support for Laravel 9 by @belzaaron
  • DROP Laravel 7,8 support
  • 8.0 min. php version
4.4.1

Fix

  • fix validation variable name
4.4.0

Added

  • Validation system for settings data
4.3.0

Added

  • Using another method name other than settings()
4.2.2

Fix param type

4.2.1

Added

  • PHP8 support
4.2.0

Added

  • Refactor the work with default settings (flatten arrays)
4.1.0

Added

  • Refactor unit tests
4.0.2

Added

  • Setup connection of the model in HasSettingsTableTrait
4.0.1

Added

  • Update README
4.0.0

Added

  • Add support for Laravel 8
  • Drop support for Laravel 5.8 and lower
  • Drop support for PHP 7.1 and lower
3.7.0

Added

  • HasSettingsField now adheres to $connection override on model Ref. task
3.6.7

Fix

  • code refactor
3.6.6

Fix

  • default configs for a table in model_settings.php config file
3.6.5

Fix

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

Fix

  • github actions
3.6.3

Fix

  • "empty()" - to check if the model has empty setting
3.6.2

Fix

  • "exist()" - to check if the model has valid setting
3.6.0
  • add support for Laravel 7
3.5.5

Bugfix

3.5.1

Fix

  • Check column settings exists directly on the database table
3.5.0

Added

  • Use cache in case of Table Settings Ref. task
  • Refactor
3.4.2

Added

  • Manage array type settings
3.4.1

Added

  • Redis support
3.3.0

Added

  • Default settings on Model
3.2.0

Added

  • Compatibility with PSR-16, CacheInterface
3.1.1

Added

  • Test for console commands
3.1.0

Added

  • Configure persistence for settings in case of Field Type (HasSettingsField)
3.0.0

Added

  • Command to create the table for settings
  • Dynamic name for the settings table and field
2.0.0

Added

  • Console Commands
1.0.0

Added

  • Initial release
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.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware