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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["Version latestkeyboard_arrow_down\n\n- [4.12.3 (latest)](/php/docs/reference/common-protos/latest)\n- [4.12.2](/php/docs/reference/common-protos/4.12.2)\n- [4.11.0](/php/docs/reference/common-protos/4.11.0)\n- [4.10.0](/php/docs/reference/common-protos/4.10.0)\n- [4.9.0](/php/docs/reference/common-protos/4.9.0)\n- [4.8.3](/php/docs/reference/common-protos/4.8.3) \n\nCommon Protos PHP\n-----------------\n\n[](https://packagist.org/packages/google/common-protos) [](https://packagist.org/packages/google/common-protos)\n\nThis repository is a home for the [protocol buffer](https://developers.google.com/protocol-buffers/) types which are\ncommon dependencies throughout the Google API ecosystem, generated for PHP.\nThe protobuf definitions for these generated PHP classes are provided by the\n[Common Components AIP](https://google.aip.dev/213) repository.\n\n**NOTE:** This repository is part of [Google Cloud PHP](https://github.com/googleapis/google-cloud-php). Any\nsupport requests, bug reports, or development contributions should be directed to\nthat project.\n\nUsing these generated classes\n-----------------------------\n\nThese classes are made available under an Apache license (see `LICENSE`) and\nyou are free to depend on them within your applications. They are\nconsidered stable and will not change in backwards-incompaible ways.\n\nThey are distributed as the [google/common-protos](https://packagist.org/packages/google/common-protos/)\ncomposer package, available on [Packagist](https://packagist.org/).\n\nIn order to depend on these classes, use composer from the command line in order\nto add this package to your `composer.json` file in the `requires` section: \n\n composer require google/common-protos\n\nLicense\n-------\n\nThese classes are licensed using the Apache 2.0 software license, a\npermissive, copyfree license. You are free to use them in your applications\nprovided the license terms are honored."]]