【问题标题】:Is there any another way to configure Firestore with Php without recommendation of grpc extention?有没有其他方法可以在不推荐 grpc 扩展的情况下使用 Php 配置 Firestore?
【发布时间】:2019-09-20 04:42:49
【问题描述】:

在不推荐 grpc 扩展的情况下,有没有其他方法可以使用 Php 配置 Firestore?

我的服务器不支持 grpc 扩展。服务器包含centOs和RHEL6。

【问题讨论】:

    标签: php google-cloud-firestore grpc


    【解决方案1】:

    您可以尝试以下任一方法:

    1. Github 存储库:Firestore PHP Client without gRCP extension
    2. Packagist - PHP 包存储库:Firestore SDK for PHP without gRPC
    3. Github 存储库:Firestore SDK for PHP without gRPC

    【讨论】:

    • 谢谢你,我正在使用你提供的最后一个参考,它真的很有帮助。
    • 但是使用您的存储库我无法触发一些查询,例如 Where() 未定义。所以您能帮我解决这个问题吗?
    • 嗨@Vaibhavbuccha,听起来您可能需要将 Cloud Firestore PHP 库添加到您的应用程序中。就像这样:composer require google/cloud-firestore。查看此link 以供进一步参考
    猜你喜欢
    • 1970-01-01
    • 2018-11-25
    • 2018-04-04
    • 1970-01-01
    • 1970-01-01
    • 2015-01-24
    • 2011-01-22
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多