PHPackages                             zzyc-supply/php-sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. zzyc-supply/php-sdk

ActiveLibrary[API Development](/categories/api)

zzyc-supply/php-sdk
===================

Zzyc supply API SDK for PHP

1.0.1(4y ago)1510MITPHPPHP &gt;=7.0

Since May 9Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zzyc-supply/php-sdk)[ Packagist](https://packagist.org/packages/zzyc-supply/php-sdk)[ Docs](http://www.xzwl1688.com/)[ RSS](/packages/zzyc-supply-php-sdk/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

zzyc-supply-php-sdk
-------------------

[](#zzyc-supply-php-sdk)

zzyc-supply-php-sdk是中泽云仓官方SDK的Composer封装，支持php项目的中台API对接。

安装
--

[](#安装)

- 通过composer，这是推荐的方式，可以使用composer.json 声明依赖，或者运行下面的命令。

```
$ composer require zzyc-supply/php-sdk
```

- 直接下载安装，SDK 没有依赖其他第三方库，但需要参照 composer的autoloader，增加一个自己的autoloader程序。

运行环境
----

[](#运行环境)

```
php: >=7.0

```

使用方法
----

[](#使用方法)

```
	/**
	 * Created by PhpStorm.
	 * User: Zzyc
	 * Date: 2022/4/17
	 * Time: 2:04 PM
	 */

	use Zzyc\Api\SupplyClient;

	$appKey = "your appkey";
	$appSecret = "your appSecret";

	try {
		$supplyClient = new SupplyClient($appKey,$appSecret);
	} catch (OssException $e) {
		printf(__FUNCTION__ . "creating supplyClient instance: FAILED\n");
		printf($e->getMessage() . "\n");
		return null;
	}

	$param = [
		'cate_id'=>3, //分类id
		'order'=>'price_asc', //排序方式: 'is_new', 新品 'price_asc', 价格升序 'price_desc', 价格降序 'rate', 评分 'sales' 销量 默认传空或不传
		'price_on'=>1, //价格区间 最低价
		'price_off'=>10, //价格区间 最高价
		'brand_id'=> '', //品牌id
		'keyword'=>'绿豆', //搜索关键字
		'page'=>1,
		'limit'=>10
	];
	$response = json_decode($supplyClient->getApiResponse("get","/api/product/spu/lst",$param));
```

供应链平台
-----

[](#供应链平台)

官网网址

浙江中台H5网址

安徽中台H5网址

江西中台H5网址

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1466d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e65b32e9660e937685a07b60487708d556db470c866dd9afd3e5d7f7914a8ae?d=identicon)[huidaoli](/maintainers/huidaoli)

---

Top Contributors

[![huidaoli](https://avatars.githubusercontent.com/u/3982220?v=4)](https://github.com/huidaoli "huidaoli (2 commits)")

---

Tags

sdksupplyZzyc

### Embed Badge

![Health badge](/badges/zzyc-supply-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/zzyc-supply-php-sdk/health.svg)](https://phpackages.com/packages/zzyc-supply-php-sdk)
```

###  Alternatives

[appwilio/cdek-sdk

CDEK API SDK (cdek.ru)

406.5k](/packages/appwilio-cdek-sdk)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

223.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
