yangsai@163.com
cf3d792c05
|
6 months ago | |
---|---|---|
.. | ||
metadata | 6 months ago | |
src | 6 months ago | |
CHANGELOG.md | 6 months ago | |
CODE_OF_CONDUCT.md | 6 months ago | |
CONTRIBUTING.md | 6 months ago | |
LICENSE | 6 months ago | |
README.md | 6 months ago | |
SECURITY.md | 6 months ago | |
composer.json | 6 months ago | |
renovate.json | 6 months ago |
README.md
Common Protos PHP
This repository is a home for the protocol buffer types which are common dependencies throughout the Google API ecosystem, generated for PHP. The protobuf definitions for these generated PHP classes are provided in the API Common Protos 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/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/common-protos": "^2.0"
Or else use composer from the command line:
composer require google/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.