Clones a Github repository with PHP & ZipArchive. Without using Git or exec().
Download a Github repository with PHP Install with composer: $ composer require wbadrh/git-dl Example usage: <?php $git = new GitDownload('/your/downloads'); $author = 'drhino'; $repository = 'git-dl'; $branch = 'master'; $path = $git->clone($author, $repository, $branch);