public function installViaComposer() { return new Process(sprintf('cd %s && composer require %s', base_path(), $this->getPackageName())); }