indatus / guardian
Allows you to protect more than just the production environment from potentially destructive tasks
Installs: 2 154
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 4
Forks: 2
Open Issues: 0
Requires
- php: >=5.4
- illuminate/console: 4.2.*@dev
- illuminate/database: 4.2.*@dev
- illuminate/foundation: 4.2.*@dev
Requires (Dev)
- henrikbjorn/phpspec-code-coverage: ~1.0@dev
- phpspec/phpspec: ~2.0
This package is auto-updated.
Last update: 2024-04-10 03:52:07 UTC
README
Guardian is a Laravel package that allows you to protect more than just the production
environment from potentially destructive tasks.
migrate:refresh
migrate:reset
db:seed
Any other command that uses this package's ConfirmableTrait
## Installation
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
For Laravel 4: php artisan config:publish indatus/guardian
For Laravel 5+: php artisan publish:config indatus/guardian