for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace SOSTheBlack\Moip\Commands;
use Illuminate\Console\Command;
class MoipMigrateCommand extends Command {
/**
* The console command name.
*
* @var string
*/
protected $name = 'moip:migrate';
* The console command description.
protected $description = 'Running migrations of package';
* Create a new command instance.
public function __construct()
{
parent::__construct();
}
* Execute the console command.
* @return void
public function fire()
$this->comment('running migrations sostheblack/moip');
$this->call('migrate', ['--package'=> 'sostheblack/moip']);
$this->comment('Migracoes executadas');