Download the PHP package mylarge/jdkd without Composer
On this page you can find all versions of the php package mylarge/jdkd. 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 jdkd
京东快递SDK
- SDK规范
- 接口调用示例
- 京东文档
禁止把平台的sdk,直接全部复制进来,所有类必须整理为符合psr4加载规范的要求
SDK规范
此sdk包为各项目独立引用包,不要在里面写默认配置, 类似site('xxx_app_key')等。
-
接口添加完后要至少加一个单元测试,做为用法示例
-
各平台的类名字或命名空间,为了跟其它原有项目中做区分,使用全拼, ,比如 京东 命名使用 jingdong
-
各平台涉及到appKey,key,appid,appSecret,client_id,client_secret accessToken,sessionKey等,统一为 appKey,appSecret,accessToken,options
- 客户端实例化时传入appKey,appSecret,options,全为非必传,扩展配置可使用options传入,详细处理逻辑可看QingYa\UnionSdk\SdkClient构造方法
接口调用示例
接口调用封装成统一的调用流程(视情况而定),如下,构造函数接收三个入参,第三个入参为数组,且可覆盖类成员属性(扩展用)
京东快递文档
文档地址:https://cloud.jdl.com/#/open-business-document/api-doc/158/198
All versions of jdkd with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
The package mylarge/jdkd contains the following files
Loading the files please wait ....