Download the PHP package sobyte/eleme-openapi-sdk without Composer

On this page you can find all versions of the php package sobyte/eleme-openapi-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 eleme-openapi-sdk

Fucking Coding.net

PHP SDK 接入指南 & CHANGELOG

接入指南

  1. PHP version >= 5.4 & curl extension support
  2. 通过composer安装SDK
  3. 创建Config配置类,填入key,secret和sandbox参数
  4. 使用sdk提供的接口进行开发调试
  5. 上线前将Config中$sandbox值设为false以及填入正式环境的key和secret

安装

基本用法

Token获取

企业应用与个人应用的token获取方法略有不同。

实际使用过程中,在token获取成功后,该token可以使用较长一段时间,需要缓存起来,请勿每次请求都重新获取token。

企业应用

商家打开授权URL,同意授权后,跳转到您的回调页面,并返回code

个人应用

Demo使用方法

该demo主要用来演示企业应用的授权流程和展示应用信息

  1. 在开发者中心创建企业应用,记下沙箱环境店铺的账号和密码,并在沙箱环境中填入回调地址(该地址需要https)

  2. 找到demo文件夹将资源拷贝到您的项目目录

  3. 在init.php中修改沙箱环境的app_key,app_secret,callback_url,以及项目目录的相对路径

  4. 将demo部署到服务器上

  5. 打开SDK生成的授权URL,使用沙箱店铺的账号和密码进行授权,成功后调转回调接口,输出页面,展示店铺信息

  6. 使用沙箱店铺的账号密码在napos客户端登陆,会发现刚刚授权的应用已安装,并能够打开应用跳转回调页,展示店铺信息

CHANGELOG:

[1.68.0]

Release Date : 2022-01-14

[1.67.0]

Release Date : 2021-12-03

[1.66.0]

Release Date : 2021-10-29

[1.65.0]

Release Date : 2021-09-18

[1.64.0]

Release Date : 2021-07-08

[1.63.0]

Release Date : 2021-01-12

[1.62.0]

Release Date : 2020-11-03

[1.61.0]

Release Date : 2020-04-24

[1.60.0]

Release Date : 2020-03-30

[1.59.0]

Release Date : 2019-12-27

[1.58.0]

Release Date : 2019-12-23

[1.57.0]

Release Date : 2019-11-18

[1.56.0]

Release Date : 2019-10-18

[1.55.0]

Release Date : 2019-09-26

[1.54.0]

Release Date : 2019-09-01

[1.53.0]

Release Date : 2019-07-19

[1.52.0]

Release Date : 2019-07-09

[1.51.0]

Release Date : 2019-06-28

[1.50.0]

Release Date : 2019-05-17

[1.49.0]

Release Date : 2019-05-10

[1.48.0]

Release Date : 2019-04-15

[1.47.0]

Release Date : 2019-04-12

[1.46.0]

Release Date : 2019-03-05

[1.45.0]

Release Date : 2019-02-22

[1.44.0]

Release Date : 2019-01-03

[1.43.0]

Release Date : 2018-12-28

[1.42.0]

Release Date : 2018-12-21

[1.41.0]

Release Date : 2018-12-07

[1.40.0]

Release Date : 2018-11-30

[1.39.0]

Release Date : 2018-11-15

[1.38.0]

Release Date : 2018-10-17

[1.37.0]

Release Date : 2018-09-29

[1.36.0]

Release Date : 2018-09-21

[1.35.0]

Release Date : 2018-09-14

[1.34.0]

Release Date : 2018-09-07

[1.33.0]

Release Date : 2018-08-17

[1.32.0]

Release Date : 2018-08-03

[1.31.0]

Release Date : 2018-07-27

[1.30.0]

Release Date : 2018-07-13

[1.29.0]

Release Date : 2018-07-06

[1.28.0]

Release Date : 2018-06-28

[1.27.0]

Release Date : 2018-06-22

[1.26.0]

Release Date : 2018-06-08

[1.25.0]

Release Date : 2018-06-08

[1.24.0]

Release Date : 2018-05-18

[1.23.0]

Release Date : 2018-03-23

[1.22.0]

Release Date : 2018-02-02

[1.21.0]

Release Date : 2018-01-18

[1.20.0]

Release Date : 2018-01-05

[1.19.0]

Release Date : 2017-12-24

[1.18.0]

Release Date : 2017-12-01

[1.17.0]

Release Date : 2017-10-27

[1.16.0]

Release Date : 2017-10-22

[1.15.0]

Release Date : 2017-09-01

[1.14.0]

Release Date : 2017-09-01

[1.13.0]

Release Date : 2017-08-18

[1.12.0]

Release Date : 2017-08-03

[1.11.0]

Release Date : 2017-07-07

[1.10.0]

Release Date : 2017-07-04

[1.9.0]

Release Date : 2017-05-26

[1.8.0]

Release Date : 2017-05-24

[1.7.0]

Release Date : 2017-05-18

[1.6.1]

Release Date : 2017-05-12

[v1.5.0]

Release Date : 2017-5-8

[v1.4.0]

Release Date : 2017-5-5

[v1.3.0]

Release Date : 2017-4-25

[v1.2.0]

Release Date : 2017-4-21

[v1.1.10]

Release Date : 2017-4-21

[v1.1.9]

Release Date : 2017-4-14

[v1.1.8]

Release Date : 2017-4-11

[v1.1.7]

Release Date : 2017-4-7

All versions of eleme-openapi-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
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 sobyte/eleme-openapi-sdk contains the following files

Loading the files please wait ....