2017 © Pedro Peláez
 

library guardian

Allows you to protect more than just the production environment from potentially destructive tasks

image

indatus/guardian

Allows you to protect more than just the production environment from potentially destructive tasks

  • Monday, February 9, 2015
  • by bkuhl
  • Repository
  • 2 Watchers
  • 9 Stars
  • 2,153 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Guardian

Guardian is a Laravel package that allows you to protect more than just the production environment from potentially destructive tasks., (*1)

, (*2)


Latest Stable Version Total Downloads Build Status, (*3)

, (*4)

Features

  • Adds confirmation dialog for destructive commands to configurable environment list

Supported artisan commands:, (*5)

  • migrate:refresh
  • migrate:reset
  • db:seed
  • Any other command that uses this package's ConfirmableTrait

, (*6)

Installation

Requirements, (*7)

You can install the library via Composer by running:, (*8)

composer require indatus/guardian

Add this line to the providers array in your app/config/app.php file :, (*9)

        'Indatus\Guardian\ServiceProvider',

, (*10)

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., (*11)

For Laravel 4: php artisan config:publish indatus/guardian, (*12)

For Laravel 5+: php artisan publish:config indatus/guardian, (*13)

The Versions

09/02 2015

dev-master

9999999-dev

Allows you to protect more than just the production environment from potentially destructive tasks

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ben Kuhl

laravel migrations artisan seed migrate seeders

09/02 2015

v1.0

1.0.0.0

Provides extra security for potentially destructive actions

  Sources   Download

MIT

The Requires

 

The Development Requires

by Ben Kuhl

laravel migrations artisan seed migrate seeders