google / cloud-api-gateway
Google Cloud Api Gateway PHP客户端
v2.0.0
2024-09-07 00:21 UTC
Requires
- php: ^8.0
- google/gax: ^1.34.0
Requires (Dev)
- phpunit/phpunit: ^9.0
Suggests
- ext-grpc: Enables use of gRPC, a universal high-performance RPC framework created by Google.
- ext-protobuf: Provides a significant increase in throughput over the pure PHP protobuf implementation. See https://cloud.google.com/php/grpc for installation instructions.
README
Google Cloud Api Gateway的PHP语言习语式客户端。
注意:此存储库是Google Cloud PHP的一部分。任何支持请求、错误报告或开发贡献应直接提交到该项目。
安装
首先,安装PHP首选的依赖项管理器 Composer。
现在安装此组件
$ composer require google/cloud-api-gateway
此组件支持HTTP/1.1的REST和gRPC。为了充分利用gRPC(例如流方法)提供的优势,请参阅我们的gRPC安装指南。
认证
有关认证客户端的更多信息,请参阅我们的认证指南。认证后,您即可开始发送请求。
版本
此组件被认为是GA(通常可用)。因此,它不会在任何次要或补丁版本中引入不兼容的更改。我们将优先处理问题和请求。
下一步
- 了解官方文档。