Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

As PHP version 5.5 is no longer supported by the community, we strongly recommend new apps use the PHP 7+ runtime.


Stay organized with collections Save and categorize content based on your preferences.



CloudStorageClient is the base class for classes that are used to communicate with Google Cloud Storage via the PHP streams interface.


Cloud Storage Delete Client handles deleting objects from buckets.


Cloud Storage Directory Client handles dir_opendir(), dir_readdir() and dir_closedir() calls for Google Cloud Storage bucket.


Google Cloud Storage Read Client - Implements only the methods required to read bytes from GCS using stream wrappers. For a fully fledged client to access Google Cloud Storage you should consult the Google API client.


Cloud Storage Rename Client handles rename() calls for renaming a GCS object.


A user space stream wrapper for reading and writing to Google Cloud Storage.


Cloud Storage Url Stat Client handles stat() calls for objects and buckets.


Cloud Storage Write Client implements the stream wrapper functions required to write to a Google Cloud Storage object.


Declares well known HTTP response codes and associated error messages.