Download the PHP package lingxi/api-client without Composer
On this page you can find all versions of the php package lingxi/api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package api-client
api-client
灵析 Api 通用 Client,基于 guzzlehttp/guzzle 实现
安装
composer.json 中添加
Feature
- 灵析 api 接口自动验证
- 支持接口参数自动替换。类似 Laravel 的路由参数替换。请求 uri 中 {user_id} 会被 $query['user_id'] 的值替换
用法
初始化
全部参数都可以使用 Setter 方法设置。即不需要再实例化的时候传递参数。
option 允许的值
选项 | 说明 | 默认值 |
---|---|---|
base_uri |
base_uri |
Empty String |
time_out |
请求超时时间 | 5.0 |
api_key |
api_key |
Empty String |
api_secret |
api_secret |
Empty String |
api_version |
Api 版本 | 'v1' |
链式操作
基本操作
Getter
Setter
License
MIT
All versions of api-client with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
guzzlehttp/guzzle Version ^6.2
lingxi/api-authentication Version ^0.1
psr/log Version ^1.0
guzzlehttp/guzzle Version ^6.2
lingxi/api-authentication Version ^0.1
psr/log Version ^1.0
The package lingxi/api-client contains the following files
Loading the files please wait ....