indatus/guardian
最新稳定版本:v1.0
Composer 安装命令:
composer require indatus/guardian
包简介
Allows you to protect more than just the production environment from potentially destructive tasks
README 文档
README
Guardian is a Laravel package that allows you to protect more than just the production environment from potentially destructive tasks.
- Adds confirmation dialog for destructive commands to configurable environment list
Supported artisan commands:
migrate:refreshmigrate:resetdb:seed- Any other command that uses this package's
ConfirmableTrait
Requirements
You can install the library via Composer by running:
composer require indatus/guardian
Add this line to the providers array in your app/config/app.php file :
'Indatus\Guardian\ServiceProvider',
## Configuration
By default this package adds protection for a demo environment in addition to Laravel's native production protection. You can customize this environment list by customizing the package config.
For Laravel 4: php artisan config:publish indatus/guardian
For Laravel 5+: php artisan publish:config indatus/guardian
统计信息
- 总下载量: 2.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 9
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-02-09