Artisan::call(string $command, array $parameters, BufferedOutput $output);
use Symfony\Component\Console\Output\BufferedOutput;
...
public function migrate()
{
$output = new BufferedOutput;
try {
Artisan::call('migrate', array('--force' => true), $output);
} catch (Exception $e) {
throw Exception($e->getMessage());
}
return $output->fetch();
}