starbug/config
最新稳定版本:v0.9.1
Composer 安装命令:
composer require starbug/config
包简介
A configuration data loader.
关键字:
README 文档
README
Let's suppose you have the following module directories.
app/modules/example1
app/modules/example2
Let's also suppose you have the following yml files within those modules.
app/modules/example1/etc/test.yml
app/modules/example2/etc/test.yml
use Starbug\Config\Config; $config = new Config($locator); $data = $config->get("test"); // $data will contain the merged data from both files var_dump($data);
See starbug-resource-locator for details on the locator which is passed to Config constructor.
统计信息
- 总下载量: 1.96k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2022-12-11