larva/laravel-settings

This is laravel settings module.

1.2.4 2023-03-10 07:16 UTC

This package is auto-updated.

Last update: 2024-11-30 16:41:44 UTC


README

Stable Version Total Downloads License

适用于 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.