gax-php
gax-php copied to clipboard
Google API Extensions for PHP
Static analysis takes care of this for the most part, but it'd still be good to use `strict_types` in all our classes, now that this library is for PHP 7.0+...
**Is your feature request related to a problem? Please describe.** [This library defines and uses several middlewares](https://github.com/googleapis/gax-php/tree/master/src/Middleware) without following the [PSR-15 standard](https://www.php-fig.org/psr/psr-15/). **Describe the solution you'd like** Make it compliant...
Since ApiException overrides the __toString method, it does not behave as one might expect other Exception subclasses to behave. Stop overriding it so that we have more "conventional" php behavior....
Currently, GAX does not support IPv6 addresses. Providing an IPv6 hostname will raise `Google\ApiCore\ValidationException`. Example: ```php
#### Environment details - OS: Linux 64 - PHP version: 8.0.1 - Package name and version: gax-php, 1.11.2 #### Steps to reproduce Using the [`google-ads-php` library](https://github.com/googleads/google-ads-php): 1. Send a request...
**Is your feature request related to a problem? Please describe.** I am connecting to different GCP services from GKE using PHP and I am struggling to configure cache for the...
In the [Google Ads API](https://github.com/googleads/google-ads-php) client library, some people may select to make a call using REST instead of gRPC. Or with some reasons, they cannot use the gRPC extension...
related: https://github.com/googleapis/google-cloud-php/issues/3434 The `prettyPrint` system parameter [defaults to `true`](https://cloud.google.com/apis/docs/system-parameters), which results in extra whitespace transmitted over the wire. This should be set to false by default in GAX.