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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
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 进行加密时,参数传递必须是文件名。

环境要求

快速开始

前置准备,设置商户配置参数

服务接口 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 *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jdrent/jdrent-php-sdk contains the following files

Loading the files please wait ...