Itrulia / ArtisanBlock by Itrulia

Package to block certain artisan commands
29
2
2
Package Data
Maintainer Username: Itrulia
Maintainer Contact: info@karl-merkli.ch (Itrulia <Karl Merkli>)
Package Create Date: 2013-07-11
Package Last Update: 2013-12-17
Language: PHP
License: MIT
Last Refreshed: 2024-11-23 03:08:21
Package Statistics
Total Downloads: 29
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

ArtisanBlock

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