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!';
统计信息
- 总下载量: 320
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2013-01-14