google/common-protos
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|---|---|---|---|---|
google/protobuf | v3.25.3 | - | BSD-3-Clause | prod |
Google Common Protos for PHP, also known as google/common-protos, is a valuable tool for developers working within the Google API ecosystem. It provides a collection of protocol buffer types that serve as common dependencies throughout the system. These ready-made PHP classes are generated from protobuf definitions provided by the Common Components AIP repository, making them an integral part of efficient application development. The Google Common Protos are stable and designed to avoid backward-incompatible changes, ensuring a reliable development environment for your projects.
Using the google/common-protos in your applications is straightforward with the help of Composer, a dependency management tool for PHP. To add google/common-protos to your project, include the following line in the ‘requires’ section of your composer.json file:
"google/common-protos": "^2.0"
Alternatively, you can use the Composer command line interface to add this package to your project. Simply run the following command in your project root:
composer require google/common-protos
After either of these steps, Composer takes care of downloading and installing the package, including it as part of your project’s dependencies.
For more detailed information on google/common-protos, you can refer to the official documentation, available online at https://googleapis.github.io/common-protos-php. Here, you can find more precise guidelines about the functionalities, use cases, and methods of the Google Common Protos, aiding you in fully utilizing this package in your applications.