itrulia / artisan-block
Package to block certain artisan commands
dev-master
2013-12-17 14:12 UTC
Requires
- php: >=5.3.0
- illuminate/support: 4.0.x
This package is not auto-updated.
Last update: 2024-12-16 15:38:26 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