Example of connecting to the Google Cloud Datastore from a PHP App Engine app.
Requires the v1 alpha version of the PHP Google API client libraries. Get the code here: https://github.com/google/google-api-php-client.
Here are the blog posts that accompany this repo: Part 1 and Part 2.