codeigniter4/settings
最新稳定版本:v2.2.0
Composer 安装命令:
composer require codeigniter4/settings
包简介
Settings library for CodeIgniter 4
README 文档
README
This project provides database storage and retrieval of application settings, with a fallback to the config classes for CodeIgniter 4 framework.
Installation
composer require codeigniter4/settings
Migrate your database:
php spark migrate --all
Basic usage
Set the value:
service('settings')->set('App.siteName', 'Example');
Get the value:
service('settings')->get('App.siteName');
Forget the value:
service('settings')->forget('App.siteName');
Docs
Read the full documentation: https://settings.codeigniter.com
Contributing
We accept and encourage contributions from the community in any shape. It doesn't matter whether you can code, write documentation, or help find bugs, all contributions are welcome. See the CONTRIBUTING.md file for details.
统计信息
- 总下载量: 443.59k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 92
- 点击次数: 1
- 依赖项目数: 24
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-08-13