title: How to list all the files from a bucket in Google Cloud Storage using PHP?
body: <p>Is there a way to list all the files from a bucket in Google Storage using php ? I was able to <strong>upload</strong> and <strong>download</strong> files by I can't find a way to list all these files ?</p>
  
  <p>in the documentation there are examples of listing using java or python...but not PHP.</p>
  
  <p><a href="https://cloud.google.com/storage/docs/json_api/v1/objects/list" rel="nofollow">https://cloud.google.com/storage/docs/json_api/v1/objects/list</a></p>
  
  <p>So any ideas ?</p>
  
  <p>Thank You!</p>
  
  <p><strong>EDIT</strong> I found a solution . Can anyone confirm that this is the right way ?</p>