for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Mtolhuys\LaravelSchematics\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
class Install extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'schematics:install';
* The console command description.
protected $description = 'Install\'s laravel-schematics package';
* Execute the console command.
* @return mixed
* @throws \Exception
public function handle()
Artisan::call('route:cache');
Artisan::call('vendor:publish', [
'--provider' => 'Mtolhuys\LaravelSchematics\LaravelSchematicsServiceProvider',
'--force' => true,
]);
$this->comment(Artisan::output());
}