kcmerrill/config 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

kcmerrill/config

Composer 安装命令:

composer require kcmerrill/config

包简介

A simple yet effective configuration class

README 文档

README

A super simple but powerful configuration class.

Organize settings in multiple ways. External files, or via array access.

//.config file within /config/
[db]
user_name = 'root';
password = 'password'
// ...


$app_config = new kcmerrill\utility\config(__DIR__ . '/config/');
$app_config->set('php.hello.world', 'hello_world!');
echo $app_config['db']['user_name'] . ' is my db username configuration!';
echo $app_config->c('whatever.you.set') . ' is my configuration!';
echo $app_config->c('php.hello.world') . ' is my configuration!';

Build Status

统计信息

  • 总下载量: 320
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2013-01-14