itrulia/artisan-block

Package to block certain artisan commands

dev-master 2013-12-17 14:12 UTC

This package is not auto-updated.

Last update: 2024-11-18 15:24:00 UTC


README

ArtisanBlock is a hook in to Artisan to block certain commands.

Installation

Add itrulia/artisan-block to composer.json.

"itrulia/artisan-block": "dev-master"

Run composer update to pull down the latest version of ArtisanBlock. Now open up app/config/app.php and add the service provider to your providers array.

'Itrulia\ArtisanBlock\ArtisanBlockServiceProvider',

Usage

until pull#2179 is pulled, you have to change

$artisan = Illuminate\Console\Application::start($app);

to

$artisan = $app['artisan']->getArtisan();

and in your terminal enter

php artisan config:publish itrulia/artisan-block