google / common-protos
Google API Common Protos for PHP
Requires
- php: ^8.0
- google/protobuf: ^v3.25.3||^4.26.1
Requires (Dev)
- phpunit/phpunit: ^9.6
README
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 by the Common Components AIP repository.
NOTE: This repository is part of Google Cloud PHP. Any support requests, bug reports, or development contributions should be directed to that project.
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, use composer from the command line in order
to add this package to your composer.json
file in the requires
section:
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.