Download the PHP package jdrent/jdrent-php-sdk without Composer
On this page you can find all versions of the php package jdrent/jdrent-php-sdk. 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 jdrent-php-sdk
JDRent PHP SDK
京东租赁 PHP SDK,支持通过 Composer 安装使用。
安装
注意事项
客户端使用 JddKeyType = 'AKS',加密方式 EncryptType = '3DES_RSA' 配置时,SMAPI、HAPI、SPI 类型的接口中加密会涉及在项目目录下新建临时文件,这是因为使用 openssl_pkcs7_encrypt 进行加密时,参数传递必须是文件名。
环境要求
- PHP >= 5.6
- PHP OpenSSL 扩展
- PHP cURL 扩展
快速开始
前置准备,设置商户配置参数
服务接口 SMAPI
页面接口 HAPI
反向接口 SPI
注意: SPI是服务端发起HTTP调用-->客户端-->HTTP响应服务端。
通知接口 NAPI
注意: NAPI是服务端发起HTTP调用-->客户端,客户端需用web框架去接收HTTP请求。
目录结构
License
MIT License
All versions of jdrent-php-sdk with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6
ext-openssl Version *
ext-curl Version *
ext-openssl Version *
ext-curl Version *
The package jdrent/jdrent-php-sdk contains the following files
Loading the files please wait ...