jbohme/laravel-environment-selector
Composer 安装命令:
composer require jbohme/laravel-environment-selector
包简介
This is a package for selecting one of multiple environments in a laravel application.
关键字:
README 文档
README
This package is intended to make it easier to choose the .env. You can have ".env.testing", ".env.development" among others.
Installation
Install the package through composer:
composer require jbohme/laravel-environment-selector
You must publish a project configuration with:
php artisan vendor:publish --tag=laravel-env-selector php artisan config:cache
After this the env-selector.json was created in the root.
Usage
Run the command to modify bootstrap/app.php to enable environment selection.
php artisan publish-env-selector
Change the environment in the env-selector.json file.
License
Laravel Horizon is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 136
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-03-01