google / shopping-common-protos
Google Shopping Common Protos for PHP
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-12-03 19:53:51 UTC
README
NOTE: This repository is part of Google Cloud PHP. Any support requests, bug reports, or development contributions should be directed to that project.
This repository is a home for the protocol buffer types which are shared by multiple Google Shopping APIs, generated for PHP. The protobuf definitions for these generated PHP classes are provided in the Googleapis repository.
Using these generated classes
These classes are made available under an Apache license (see LICENSE
) and
you are free to depend on them within your applications. They are
considered stable and will not change in backwards-incompaible ways.
They are distributed as the google/shopping-common-protos composer package, available on Packagist.
In order to depend on these classes, add the following line to your
composer.json file in the requires
section:
"google/shopping-common-protos": "^0.1"
Or else use composer from the command line:
composer require google/shopping-common-protos
License
These classes are licensed using the Apache 2.0 software license, a permissive, copyfree license. You are free to use them in your applications provided the license terms are honored.