duanchun5520 2018-09-18 23:46 采纳率: 0%
浏览 64
已采纳

Firebase + PHP - Cloud Firestore

I would like to connect my PHP Project in Cloud Firestore, I am using the example link: https://github.com/artimann/firebase-php/blob/master/Users.php

Dnd using the SDK:

https://firebase-php.readthedocs.io/en/latest/overview.html

But I'm being connected to the RealTime database, any suggestions?

  • 写回答

1条回答 默认 最新

  • dopt85756 2018-09-18 23:49
    关注

    you should use the google-cloud-php-firestore FirestoreClient, instead.

    because what you have there, clearly reads firebase-php.

    the sample there even uses a users collection.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?