承接 starbug/config 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2022-12-11