for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Chriscreates\Blog\Console\Commands;
use Illuminate\Console\Command;
class InstallCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'blog:install';
* The console command description.
protected $description = 'Install all of the necessary blog resources';
* Execute the console command.
* @return void
public function handle()
$this->callSilent('vendor:publish', ['--tag' => 'blog-config']);
$this->callSilent('migrate');
$this->info('Installation complete.');
}