You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.7 KiB
44 lines
1.7 KiB
## Common Protos PHP
|
|
|
|
[](https://cloud.google.com/terms/launch-stages)
|
|
|
|

|
|
|
|
This repository is a home for the [protocol buffer][protobuf] 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][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][packagist-common-protos]
|
|
composer package, available on [Packagist][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:
|
|
|
|
```bash
|
|
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.
|
|
|
|
[api-style]: https://cloud.google.com/apis/design/
|
|
[protobuf]: https://developers.google.com/protocol-buffers/
|
|
[api-common-protos]: https://github.com/googleapis/api-common-protos/
|
|
[packagist-common-protos]: https://packagist.org/packages/google/common-protos/
|
|
[packagist]: https://packagist.org/
|
|
|