google/gax
Composer 安装命令:
composer require google/gax
包简介
Google API Core for PHP
关键字:
README 文档
README
NOTE: This repository is part of Google Cloud PHP. Any support requests, bug reports, or development contributions should be directed to that project.
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.1 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.
> vendor/bin/phpunit -
Run static analysis tools
> phpstan -c phpstan.neon.dist
License
BSD - See LICENSE for more information.
google/gax 适用场景与选型建议
google/gax 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 118.47M 次下载、GitHub Stars 达 268, 最近一次更新时间为 2016 年 05 月 31 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「google」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 google/gax 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 google/gax 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 google/gax 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
Client for Google Directions API to add interpolated points to a route consisting of given coordinates.
Google Recaptcha Package For PHP front and backend.
Google Tag Manager container management and UI components for ArtisanPack UI, built on the google base package.
A package to easily make use of Googles Material Design Symbols (700) in your Laravel Blade views.
A package to easily make use of Googles Material Design Symbols (600) in your Laravel Blade views.
统计信息
- 总下载量: 118.47M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 270
- 点击次数: 6
- 依赖项目数: 257
- 推荐数: 1
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-05-31