Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 17, 2024 via composer

google/gax 0.34.0

Google API Core for PHP
Package summary
Share
0
issues
3
licenses
7
MIT
3
BSD-3-Clause
2
Apache-2.0
Package created
31 May 2016
Version published
8 Jun 2018
Maintainers
1
Total deps
12
Direct deps
5
License
BSD-3-Clause

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
7 Packages, Including:
guzzlehttp/guzzle@7.8.1
guzzlehttp/promises@1.5.3
guzzlehttp/psr7@1.9.1
psr/cache@3.0.0
psr/http-client@1.0.3
ralouphie/getallheaders@3.0.3
symfony/deprecation-contracts@v3.5.0

BSD 3-Clause "New" or "Revised" License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
place-warranty
Cannot
use-trademark
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
firebase/php-jwt@v6.10.0
google/gax@0.34.0
google/protobuf@v3.25.3

Apache License 2.0

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
use-patent-claims
place-warranty
Cannot
hold-liable
use-trademark
Must
include-copyright
include-license
state-changes
include-notice
2 Packages, Including:
google/auth@v1.26.0
grpc/grpc@1.57.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

5
All Dependencies CSV
β“˜ This is a list of google/gax 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
google/authv1.26.0-Apache-2.0
prod dev
google/protobufv3.25.3-BSD-3-Clause
prod
grpc/grpc1.57.0166.59 kBApache-2.0
prod
guzzlehttp/promises1.5.327.46 kBMIT
prod dev
guzzlehttp/psr71.9.1-MIT
prod dev

Visualizations

Frequently Asked Questions

What does google/gax do?

The Google API Core for PHP, popularly known as google/gax, is a collection of modules that simplifies the development of APIs for clients based on Google API conventions and gRPC. This facilitates developers when interacting with Google API, by using services like page streaming and retry mechanisms to provide a more user-friendly and idiomatic API interface.

How do you use google/gax?

Utilizing google/gax in your PHP project can be done using the following steps:

  1. Install the necessary dependencies as appropriate for your operating system. For Linux, you can use the following commands:
cd ~/
sudo apt-get install php php-dev libcurl3-openssl-dev php-pear php-bcmath php-xml
curl -sS https://getcomposer.org/installer | php
sudo pecl install protobuf
  1. Set up the repository:
cd /path/to/gax-php
cp ~/composer.phar ./
php composer.phar install
  1. After installation, you can run the test to ensure everything is working as expected:
vendor/bin/phpunit --bootstrap tests/bootstrap.php tests

If you change composer.json, update the dependencies with this command:

php composer.phar update

To format your source code, use:

vendor/bin/phpcbf -s --standard=./ruleset.xml

and:

vendor/bin/phpcs -s --standard=./ruleset.xml

Usually, application code does not directly use most classes within google/gax. This library mostly aids code generated automatically from Google API's definition files.

Where are the google/gax docs?

google/gax's fully detailed and updated documentation can be found at https://googleapis.github.io/gax-php. Users are encouraged to consult this resource for deeper understanding and utilization of google/gax.