info(config('mint.path.dependence')); foreach ($this->info(config('mint.dependence')) as $key => $value) { // code... $process = new Process(['git', 'clone', $value->url, $depDir.'/'.$value->path]); $process->run(); if (! $process->isSuccessful()) { throw new ProcessFailedException($process); } $this->info($process->getOutput()); } return 0; } }