subscribo/environment
Composer 安装命令:
composer require subscribo/environment
包简介
Package Environment is for getting current environment
README 文档
README
Package for getting current environment
1. Installation
1.1 Add the following to your project's composer.json:
1.1.1 Repository containing this package (note: you need to have access to this repository as well as to resources it points to)
1.1.2 Dependency under "require" key
"subscribo/environment": "^0.1.0"
1.2. If you are using Laravel (5.0), you might want to add
'\\Subscribo\\Environment\\Integration\\Laravel\\EnvironmentServiceProvider',
under 'providers' key in config/app.php file.
or
if (class_exists('\\Subscribo\\Environment\\Integration\\Laravel\\EnvironmentServiceProvider')) { $app->register('\\Subscribo\\Environment\\Integration\\Laravel\\EnvironmentServiceProvider'); }
in bootstrap/app.php for conditional registration
If used with package adding this dependency and registering this service provider for you, this step (1.2) is not necessary.
统计信息
- 总下载量: 80
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2016-11-26