nod/nod-environment
Composer 安装命令:
composer require nod/nod-environment
包简介
A php library for detecting and configuring environment through dotenv
README 文档
README
A php library for detecting and configuring environment with dotenv
##Installation: #####With Composer:
composer require nod/environment
##Usage
//First include composer autoloader if it's not already included $loader = require_once 'vendor/autoload.php'; //Get Instance use NOD\Environment; $env = new Nod\Environment; //To test a value echo $env->getEnv(name); //or echo getenv(name); //EXCLUDE variables filtered JSON echo $env->toJson();
##TODOs
- Imrove documentation
- Add optional hostname check to detection
##Contact: hey@nod.st
统计信息
- 总下载量: 27
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-30