protected function addPhpSpecPackage($projectPath, OutputInterface $output) { $output->writeln('<comment>Installing PHPSpec</comment>'); $command = 'cd ' . $projectPath . '/public; composer require phpspec/phpspec --dev;'; new ProcessCommand($command, $projectPath, $output); $this->setPhpSpecPermissions($projectPath, $output); }