简体   繁体   中英

How to connect Google App Engine (PHP) with Cloud Datastore?

I am trying to connect my Local Development Site (using PHP) to Cloud Datastore, but unfortunately I do not know how to set up my code to reach the Datastore. I have tried the solution of tomwalder/php-gds, but I do not know, how to set up the code to work with my site. After the installation with composer, I do not know which file should be modified, there is no config.php in my directory. There are also no Google Documentation about Datastore for PHP. I am open for any solution to connect the Datastore with my site.

Can you please give us a few tips, how to start the work?

I'd suggest taking a look at https://github.com/tomwalder/php-gds . Tom just released a version that connects natively to the datastore, which is faster than going via Cloud Datastore.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM