composerFile = composerPath.toFile();
existed = true;
if (!composerFile.exists()) {
existed = false;
PharDownloader downloader = new PharDownloader();
InputStream resource = downloader.download();
FileUtils.copyInputStreamToFile(resource, composerFile);
}
} catch (Exception e) {
Logger.logException(e);
}