title: How to include Google App Engine for PHP in my scripts / autoloading?
body: <p>I have a website on an Ubuntu webserver (not an app and not hosted at App Engine) and I want to use google cloud storage for the upload/download of large files. I am trying to upload a file directly to the <a href="https://cloud.google.com/appengine/docs/php/googlestorage/user_upload" rel="nofollow">Google Cloud Storage</a> which isn't working (maybe because I made some basic errors).</p>
  
  <p>I have installed the <a href="https://cloud.google.com/compute/docs/gcloud-compute/#install" rel="nofollow">Google Cloud SDK</a> and downloaded and unzipped <a href="https://storage.googleapis.com/appengine-sdks/featured/google_appengine_1.9.20.zip" rel="nofollow">Google App Engine</a>. If I now include <code>CloudStorageTools.php</code> I get an the error:</p>
  
  <blockquote>
    <p>Class 'google\appengine\CreateUploadURLRequest' not found" </p>
  </blockquote>
  
  <p>My script looks like this:</p>
  
  <pre><code>require_once 'google/appengine/api/cloud_storage/CloudStorageTools.php';
  use google\appengine\api\cloud_storage\CloudStorageTools;
  $options = [ 'gs_bucket_name' =&gt; 'test' ];
  $upload_url = CloudStorageTools::createUploadUrl( '/test.php' , $options );
  </code></pre>