cbc/configuration
Composer 安装命令:
composer require cbc/configuration
包简介
Provides a simple configuration utility.
README 文档
README
#Configuration
A simple configuration object for your every configuration need.
##Getting Started
@TODO: Complete getting started
Example:
use CBC\Utility\Configuration; $config = [ 'database' => [ 'username' => 'db_username', 'password' => 'db_password' ] ]; $config['database.name'] = 'db_name'; $configuration = new Configuration($config); var_dump($configuration->get('database.username')); // outputs: // string (11) 'db_username' var_dump($configuration->get('database')); // outputs: // array(3) [ // 'username' => 'db_username', // 'password' => 'db_password', // 'name' => 'db_name' // ]
统计信息
- 总下载量: 122
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-29