Download the PHP package is4ngle/alibaba-open-sdk without Composer

On this page you can find all versions of the php package is4ngle/alibaba-open-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 alibaba-open-sdk

is4ngle/alibaba-open-sdk

1688 开放平台「代发解决方案(分销买家版)」PHP SDK。

能力

环境要求

快速上手

网关级错误(HTTP 非 2xx / gw.* 错误码 / 网络 / 非 JSON)抛 GatewayException,业务失败不抛异常。

消息推送(回调验签 / WebSocket 消费)见 examples/。

API 清单

src/Api/ 按命名空间分目录(Fenxiao/Product/Trade/Logistics/...),Api\Registry::all() 返回全量映射。部分 apiName 由类名驼峰还原、待联调核对(Registry 中标 todo):报 gw.APIUnsupported 时改 bin/generate.php 的 API_NAME_OVERRIDES 表重跑生成器即可修正。

生成器

bin/generate.php 从官方 SDK 参数类(应用已订阅 API 的生成物)一次性转换出 src/Api/:

生成产物独立无依赖(官方包仅作一次性输入,运行时不引用)。

测试

覆盖:三个签名器黄金向量、网关 Mock 集成、WS 状态机、回调验签、生成类抽样(平铺/包裹/嵌套)+ 全量实例化冒烟。

已知限制


All versions of alibaba-open-sdk with dependencies

PHP Build Version
Package Version
Requires php Version >=8.0
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.4
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 is4ngle/alibaba-open-sdk contains the following files

Loading the files please wait ...