protected function copyAuthFile($destination) { $composerHome = (new Config($this->output))->getComposerHomeDir(); $authFile = $composerHome . "/auth.json"; return copy($authFile, $destination . '/public/auth.json'); }