google / shopping-common-protos
PHP版本的Google购物通用Protos
v0.4.0
2024-05-03 18:32 UTC
Requires
- php: ^8.0
- google/protobuf: ^v3.25.3||^4.26.1
Requires (Dev)
- phpunit/phpunit: ^9.0
Suggests
- ext-protobuf: Provides a significant increase in throughput over the pure PHP protobuf implementation. See https://cloud.google.com/php/grpc for installation instructions.
This package is auto-updated.
Last update: 2024-09-03 19:20:19 UTC
README
注意: 此存储库是Google Cloud PHP项目的一部分。任何支持请求、错误报告或开发贡献应直接指向该项目。
此存储库是用于多个Google购物API共享的协议缓冲区类型(为PHP生成)的家园。这些生成PHP类的protobuf定义提供在Googleapis存储库中。
使用这些生成的类
这些类在Apache许可证下提供(见LICENSE
),您可以在您的应用程序中自由依赖它们。它们被认为是稳定的,并且不会以向后不兼容的方式更改。
它们作为google/shopping-common-protos composer包分发,可在Packagist上获取。
为了依赖这些类,请将以下行添加到您的composer.json文件中的requires
部分
"google/shopping-common-protos": "^0.1"
或者使用命令行中的composer
composer require google/shopping-common-protos
许可证
这些类使用Apache 2.0软件许可证进行许可,这是一个宽松的、免版税的许可证。只要遵守许可证条款,您就可以在您的应用程序中使用它们。