PHPackages                             speauty/jushuitan - 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. speauty/jushuitan

ActiveLibrary

speauty/jushuitan
=================

This is a php client for ju-shui-tan api

1.0.3(6y ago)0141MITPHPPHP &gt;=7.3

Since Nov 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/speauty/JuShuiTan)[ Packagist](https://packagist.org/packages/speauty/jushuitan)[ RSS](/packages/speauty-jushuitan/feed)WikiDiscussions master Synced today

READMEChangelog (7)Dependencies (1)Versions (7)Used By (0)

#### 聚水潭-PHP类库

[](#聚水潭-php类库)

该类库主要用于PHP对接[聚水潭开放平台](http://open.jushuitan.com/document.html), 之前在提交packagist时, 系统提示有类似类库. 我跟过去看了一下, 其中一个, 提到有奇门之类的词汇. 过后又仔细翻了一下, 好像没有相关接口, 就没有做. 只是简单的一个参数封装和请求的操作, 其中没有日志记录, 一切从简.

##### 参考用法

[](#参考用法)

```
require "vendor/autoload.php";
use \JuShuiTan\Conf;
use \JuShuiTan\Tools;

$arr = [
    'partnerid' => 'ywv5jGT8ge6Pvlq3FZSPol345asd',
    'partnerkey' => 'ywv5jGT8ge6Pvlq3FZSPol2323',
    'token' => '181ee8952a88f5a57db52587472c3798',
    'method' => 'logisticscompany.query',
    'sign' => ''
];
$conf = new Conf($arr, true);
$jushuitan = new Tools($conf);
var_dump($jushuitan->exec(["modified_begin"=>"2016-08-30 10:51:40","modified_end"=>"2016-09-04 15:49:21"]));
```

下一步, 可以考虑将`method`也封装一下, 只需要传个查询参数进来即可, 不过具体采用哪种模式, 还是要认真考虑一下.

```
测试账号:
网址: http://c.jushuitan.com;
企业版客户(有精细化库存管理)
帐号: kfcs@jst.com
密码: qwe123qwe;
PartnerId: ywv5jGT8ge6Pvlq3FZSPol345asd;
PartnerKey: ywv5jGT8ge6Pvlq3FZSPol2323;
TOKEN: 181ee8952a88f5a57db52587472c3798;

专业版客户(无精细化库存管理):
帐号: kfcszy@jst.com
密码: qwe123qwe;
PartnerId: ywv5jGT8ge6Pvlq3FZSPol345asd;
PartnerKey：ywv5jGT8ge6Pvlq3FZSPol2323;
TOKEN: 3f723a3e4bd178cdc7070b48641c5707;

```

##### 样例代码

[](#样例代码)

```
# 基础API
use Exp\BasicApi;
require_once './vendor/autoload.php';
$basic = new BasicApi();
var_dump($basic->shopQuery(['微合伙人1']));
var_dump($basic->logisticsCompanyQuery());
var_dump($basic->wmsPartnerQuery());
var_dump($basic->authShopGenerateQuery());
var_dump($basic->refreshToken());

```

```
# 商品API
use Exp\GoodsApi;

require_once './vendor/autoload.php';

$goods = new GoodsApi();
var_dump($goods->itemUpload());
var_dump($goods->mallItemUpload());
var_dump($goods->skuQuery(['310089000Y']));
var_dump($goods->skuMapQuery());
var_dump($goods->categoryQuery());

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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 ~1 days

Total

6

Last Release

2357d ago

Major Versions

0.1.0 → 1.0.02019-11-18

PHP version history (2 changes)0.0.2PHP &gt;=5.6

0.1.0PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/e03db1605708ceadd4074ca7427b4ec35342ec26c39ba891dff5ae897fa46ec8?d=identicon)[speauty](/maintainers/speauty)

---

Top Contributors

[![speauty](https://avatars.githubusercontent.com/u/28774023?v=4)](https://github.com/speauty "speauty (15 commits)")

---

Tags

composer-packagejushuitanphp

### Embed Badge

![Health badge](/badges/speauty-jushuitan/health.svg)

```
[![Health](https://phpackages.com/badges/speauty-jushuitan/health.svg)](https://phpackages.com/packages/speauty-jushuitan)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)

PHPackages © 2026

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