title: Zip and download files from Amazon S3 with Laravel
body: <p>I have a Laravel project which allows to upload photos and they are stored S3 bucket. </p>
  
  <p>At particular times, it's needed to download an entire album which is a folder in S3 bucket storage. So, it should be downloaded as a ZIP file that includes photos of that album. </p>
  
  <p>I managed to do this when these are stored on local storage. </p>
  
  <pre><code> public function downloadZip() {
              $files = glob(public_path('js/*'));
              Zipper::make('mydir/mytest3.zip')-&gt;add($files);
  
  
              return response()-&gt;download(public_path('mydir/mytest3.zip'));
   }
  </code></pre>
  
  <p>But, in S3 bucket, that method is not working. </p>
  
  <p>Is there a way to do this ? </p>