larva / laravel-settings
This is laravel settings module.
Installs: 2 765
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Requires
- illuminate/cache: ^9.0|^10.0
- illuminate/database: ^9.0|^10.0
- illuminate/support: ^9.0|^10.0
Requires (Dev)
- laravel/framework: ^9.0|^10.0
README
适用于 Laravel 的系统设置模块,适合保存一些不放在 ENV 中的设置,支持集群环境,无脏缓存。支持 Octane(加速引擎)。
安装
composer require larva/laravel-settings -vv
使用
\Larva\Settings\Facade\Settings::get('abv'); \Larva\Settings\Facade\Settings::set('abv', '123456');
License
The Laravel library is open-sourced software licensed under the MIT license.