google / gax
Google API Core for PHP
Installs: 58 380 910
Dependents: 221
Suggesters: 1
Security: 0
Stars: 239
Watchers: 48
Forks: 53
Open Issues: 27
Requires
- php: ^8.0
- google/auth: ^1.34.0
- google/common-protos: ^4.4
- google/grpc-gcp: ^0.4
- google/longrunning: ~0.4
- google/protobuf: ^v3.25.3||^4.26.1
- grpc/grpc: ^1.13
- guzzlehttp/promises: ^2.0
- guzzlehttp/psr7: ^2.0
- ramsey/uuid: ^4.0
Requires (Dev)
- phpspec/prophecy-phpunit: ^2.1
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.6
- squizlabs/php_codesniffer: 3.*
Conflicts
- ext-protobuf: <3.7.0
- dev-main
- v1.35.0
- v1.34.1
- v1.34.0
- v1.33.0
- v1.32.0
- v1.31.0
- v1.30.1
- v1.30.0
- v1.29.1
- v1.29.0
- v1.28.1
- v1.28.0
- v1.27.2
- v1.27.1
- v1.27.0
- v1.26.3
- v1.26.2
- v1.26.1
- v1.26.0
- v1.25.0
- v1.24.0
- v1.23.0
- v1.22.1
- v1.22.0
- v1.21.1
- v1.21.0
- v1.20.2
- v1.20.1
- v1.20.0
- v1.19.1
- v1.19.0
- v1.18.2
- v1.18.1
- v1.18.0
- v1.17.0
- v1.16.4
- v1.16.3
- v1.16.2
- v1.16.1
- v1.16.0
- v1.15.0
- v1.14.0
- v1.13.0
- v1.12.2
- v1.12.1
- v1.12.0
- v1.11.4
- v1.11.3
- v1.11.2
- v1.11.1
- v1.11.0
- v1.10.0
- v1.9.1
- v1.9.0
- v1.8.0
- v1.7.1
- 1.7.0
- 1.6.1
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.38.2
- 0.38.1
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.1
- 0.33.0
- 0.32.1
- 0.32.0
- 0.31.4
- 0.31.3
- 0.31.2
- 0.31.1
- 0.31.0
- 0.30.3
- 0.30.2
- 0.30.1
- 0.30.0
- 0.29.1
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.1
- 0.22.0
- 0.21.2
- 0.21.1
- 0.21.0
- 0.20.1
- 0.20.0
- 0.10.0
- 0.9.0
- 0.8.1
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.1
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
- dev-logging
- dev-fix-has-emulator-client-option
- dev-result-function
- dev-abstract-stub
- dev-client-options
- dev-logging-prototype-transport
- dev-add-create-new-surfaceoperations-client
- dev-retrier-rfc
- dev-gax-retry-2
- dev-gax-retry
- dev-more-options-tweaks
- dev-refactor-gapicclienttrait
- dev-add-strict-types
This package is auto-updated.
Last update: 2024-11-21 22:02:32 UTC
README
Google API Core for PHP (gax-php) is a set of modules which aids the development of APIs for clients based on gRPC and Google API conventions.
Application code will rarely need to use most of the classes within this library directly, but code generated automatically from the API definition files in Google APIs can use services such as page streaming and retry to provide a more convenient and idiomatic API surface to callers.
PHP Versions
gax-php currently requires PHP 8.0 or higher.
Contributing
Contributions to this library are always welcome and highly encouraged.
See the CONTRIBUTING documentation for more information on how to get started.
Versioning
This library follows Semantic Versioning.
This library is considered GA (generally available). As such, it will not introduce backwards-incompatible changes in any minor or patch releases. We will address issues and requests with the highest priority.
Repository Structure
All code lives under the src/ directory. Handwritten code lives in the
src/ApiCore directory and is contained in the Google\ApiCore
namespace.
Generated classes for protobuf common types and LongRunning client live under the src/ directory, in the appropriate directory and namespace.
Code in the metadata/ directory is provided to support generated protobuf classes, and should not be used directly.
Development Set-Up
These steps describe the dependencies to install for Linux, and equivalents can be found for Mac or Windows.
-
Install dependencies.
> 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
-
Set up this repo.
> cd /path/to/gax-php > composer install
-
Run tests.
> composer test
-
Updating dependencies after changing
composer.json
:> composer update `
-
Formatting source:
> composer cs-lint > composer cs-fix
License
BSD - See LICENSE for more information.