jtet/miniconfig
最新稳定版本:1.0.0
Composer 安装命令:
composer require jtet/miniconfig
包简介
Simple configuration file loader for PHP in 20 lines of code.
README 文档
README
Simple configuration file loader for PHP in 20 lines of code.
##Using MiniConfig
Mini Config can load YAML (.yml) or INI (.ini) files. The variables in your configuration file can be accessed as if they were properties of the Config object.
$c = new \JTet\Mini\Config("config.yml"); echo $c->db_user;
##Getting MiniConfig
Add the following to your composer.json file and run composer update.
"require": {
"jtet/miniconfig": "dev-master"
}
##License MiniConfig is available for your use under the OSL-3.0 license.
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2012-11-19