reecem / settings
settings package that uses a property bag and caching
v0.3.0
2019-06-02 20:35 UTC
Requires
- illuminate/filesystem: ^5.6
- illuminate/support: ^5.6
Requires (Dev)
- orchestra/testbench: ^3.5
- phpunit/phpunit: ^7.5
This package is auto-updated.
Last update: 2026-05-15 16:54:28 UTC
README
settings
Laravel Settings package that is persistent to DB
This setting package makes use of the key-value storage method of settings.Installing
Require via composer
composer require reecem/settings
Then install through the artisan command
php artisan settings:install
updates
when there is a new release please run settings:update just to refresh the published assets
php artisan settings:update
Features
- Settings are cached to reduce reading time from the db
setting()helper to access the settings from anywheremulti.dimension.setting.array- the settings can be saved in assoc array form- settings can be cast to arrays, JSON or boolean from default
- WIP: encrypt the entire cached setting file
todo
There is always something todo
- add an encrypt option to individual settings
- improve the ui of the settings panel
- unit tests...
Support
If you enjoy using the package you can support me on Ko-Fi or by paypal 😄