laravel-model-settings icon indicating copy to clipboard operation
laravel-model-settings copied to clipboard

Model Settings for your Laravel app

Results 10 laravel-model-settings issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** When using $invokeSettingsBy = 'anotherName' I expect the method $this->settings() could be used for another purpose but it's not true....

**Is your feature request related to a problem? Please describe.** Changing defaults currently requires code updates. **Describe the solution you'd like** It would be great to have the ability to...

**Describe the bug** There is no support to add custom validation rules Reference: https://github.com/glorand/laravel-model-settings/issues/87#issuecomment-964529183 **To Reproduce** Add a custom validation rule. You'll get "expression is not allowed as field default...

As for getting multiple settings at once, currently what is supported is ```php //multiple $user->settings()->getMultiple( [ 'some.setting_1', 'some.setting_2', ], 'default value' ); ``` However, in my case, seeting_1 is true...

This is a great package, but it overrides `Model::getConnectionName()`, which proves to be a problem. We already have simple traits that do something similar and we can't have both. This...

Status: Accepted

Hey, I think this method should not call cache in any kind of production environment. I understand safe guarding while development is happening, but excessive connections to cache server (if...

Status: Accepted

The HasSettings::getRules method collides with the package [wat](https://github.com/dwightwatson/validating). However, since the method here refers more to the settings than to the usual name for the validation rules, I suggest renaming...

**Describe the bug** Hi i'm facing to these logs in production : ``` [2025-04-26 14:44:14] production.WARNING: Glorand\Model\Settings\Managers\AbstractSettingsManager::get(): Implicitly marking parameter $path as nullable is deprecated, the explicit nullable type must...

Stressed me out a bit for a while until I checked the code. I'd be happy to add it if accepted

Status: Accepted