Full Changelog: https://github.com/solomon-ochepa/laravel-settings/compare/v12.7.4...v12.7.22
New update: Settings::remember(string $name, ?mixed $default = null)
You can now create, update, or retrieve a setting with one shot!
How it works?
The remember() method will first check if a setting exists, and it's not falsy (false, null, 0, '') Returns the setting value if not falsy Create the setting if not found Update the setting with the $default value if falsy
Note that the package migration has also been updated to support nullable values.
Full Changelog: https://github.com/solomon-ochepa/laravel-settings/compare/v1.0.0...v12.7.4
Full Changelog: https://github.com/solomon-ochepa/laravel-settings/compare/v12.0.2...v12.7.3
set() method. by @solomon-ochepa in https://github.com/solomon-ochepa/laravel-settings/pull/3Full Changelog: https://github.com/solomon-ochepa/laravel-settings/compare/v1.2.1...v1.2.2
Full Changelog: https://github.com/solomon-ochepa/laravel-settings/compare/v1.1.1...v1.2.0
Full Changelog: https://github.com/solomon-ochepa/laravel-settings/compare/v1.0.0...v1.1.0
How can I help you explore Laravel packages today?