title: Download repo from GitHub in PHP?
body: <p>What is the best way to download a GitHub repo's files using PHP into a directory.</p>
  
  <p>I have tried downloading the zipball and extracting it but I'm struggling to find a good way of extracting the zip file.</p>