reecem/settings
Composer 安装命令:
composer require reecem/settings
包简介
settings package that uses a property bag and caching
README 文档
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 😄
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-13