indragunawan/laravel-env-handler
最新稳定版本:v0.1.0
Composer 安装命令:
composer require indragunawan/laravel-env-handler
包简介
Laravel 5 artisan command to handling the environment configuration (.env)
README 文档
README
This package allows you to manage your ignored environment configuration when you are running a composer install / update or even manually call the command. It works when storing the .env.example file under the application root. Other keys are copied without change.
Installation
Run the following command from your terminal:
composer require "indragunawan/laravel-env-handler: 0.*"
or add this to require section in your composer.json file:
{
"require": {
"indragunawan/laravel-env-handler": "0.*"
}
}
run composer update
Then add Service provider to config/app.php
'providers' => [ // ... 'IndraGunawan\LaravelEnvHandler\EnvHandlerServiceProvider' ]
Usage
via command line
$ php artisan env:update
Options
$ php artisan env:update --force
execute the update even though there are no new environment parameters
Credits
This package is largely inspired by this.
统计信息
- 总下载量: 57
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-06-03