PHPackages                             shopwwi/webman-express - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. shopwwi/webman-express

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

shopwwi/webman-express
======================

express for the webman

v1.0.2(2y ago)42241MITPHPPHP &gt;=7.2 || ^8.0

Since Apr 8Pushed 2y agoCompare

[ Source](https://github.com/shopwwi/webman-express)[ Packagist](https://packagist.org/packages/shopwwi/webman-express)[ RSS](/packages/shopwwi-webman-express/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (1)

安装
==

[](#安装)

```
composer require shopwwi/webman-express

```

配置文件
====

[](#配置文件)

```
//路径 config/plugin/shopwwi/express/app.php
    'default' => 'kuaidi100',
    'holder' => [
        'kuaidi100' => [
            'driver' => \Shopwwi\WebmanExpress\Adapter\KuaiDi100AdapterFactory::class,
            'api_url' => 'https://poll.kuaidi100.com/poll/query.do',
            'app_id' => '', //customer
            'app_key' => '' //授权KEY
        ],
        'kdniao' => [
            'driver' => \Shopwwi\WebmanExpress\Adapter\KdNiaoAdapterFactory::class,
            'api_url' => 'https://api.kdniao.com/Ebusiness/EbusinessOrderHandle.aspx', //测试地址 http://sandboxapi.kdniao.com:8080/kdniaosandbox/gateway/exterfaceInvoke.json
            'app_id' => '',
            'app_key' => ''
        ],
         'showapi' => [
            'driver' => \Shopwwi\WebmanExpress\Adapter\ShowApiAdapterFactory::class,
            'api_url' => 'https://route.showapi.com/2650',
            'app_id' => '', //showapi_appid
            'app_key' => '' //secret
        ]
    ],

```

支持的查询
-----

[](#支持的查询)

- 快递100 （kuaidi100）
- 快递鸟（kdniao）
- 万维易源 （showapi）

使用方法
====

[](#使用方法)

1. 选择选定器

```
use Shopwwi\WebmanExpress\Facade\Express;
$express = Express::make(); //默认选定器
$express = Express::make('kuaidi100');
```

2.快递查询

```
use Shopwwi\WebmanExpress\Facade\Express;

$express = Express::make(); //默认选定器
// $tracking_code 快递单号
// $shipping_code 物流公司编码
// $additional 扩展参数 详见下面说明
$express = $express->track($tracking_code, $shipping_code,$additional = [])
```

3.请求扩展参数区别（$additional）

- 快递鸟

参数名称类型说明必须要求OrderCodeString订单编号否CustomerNameStringShipperCode 为JD，必填，对应京东的青龙配送编码，也叫商家编码，格式：数字＋字母＋数字，9 位数字加一个字母，共10 位，举例：001K123450；ShipperCode 为SF，且快递单号非快递鸟渠道返回时，必填，对应收件人/寄件人手机号后四位；ShipperCode 为SF，且快递单号为快递鸟渠道返回时，不填；ShipperCode 为其他快递时，不填否- 快递100

参数名称类型说明必须要求phoneString收、寄件人的电话号码（手机和固定电话均可，只能填写一个，顺丰速运和丰网速运必填，其他快递公司选填。如座机号码有分机号，分机号无需传入。）否fromString出发地城市否toString目的地城市，到达目的地后会加大监控频率否4.返回结果说明(对各站进行了统一)

参数名称类型说明messageString消息体，请忽略statusString通讯状态，请忽略exp\_logoString快递公司logoexp\_nameString快递公司名称exp\_ship\_snString快递公司编码exp\_ship\_codeString快递单号exp\_telString快递公司电话exp\_statusString当前快递状态exp\_status\_textString当前快递状态route\_infoArray快递途径明细exp\_listArray快递明细列表└ timeString时间，原始格式└ contextString内容└ statusString本数据元对应的物流状态名称或者高级状态名称└ status\_codeString本数据元对应的高级物流状态值└ area\_nameString本数据元对应的行政区域的名称└ area\_codeString本数据元对应的行政区域的编码└ locationString本数据元对应的行政区域经纬度└ area\_pinyinString本数据元对应的行政区域拼音

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

884d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.2 || 8.0

v1.0.1PHP &gt;=7.2 || ^8.0

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

expresswebman

### Embed Badge

![Health badge](/badges/shopwwi-webman-express/health.svg)

```
[![Health](https://phpackages.com/badges/shopwwi-webman-express/health.svg)](https://phpackages.com/packages/shopwwi-webman-express)
```

###  Alternatives

[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[yzh52521/webman-task

 dynamic crontab task plugin for webman.

171.9k2](/packages/yzh52521-webman-task)

PHPackages © 2026

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