PHPackages                             twodogeggs/kuaidi100 - 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. twodogeggs/kuaidi100

ActiveLibrary

twodogeggs/kuaidi100
====================

基于快递1，查询智能推送，云打印，短信

1.0.2(6y ago)551MITPHP

Since Jun 18Pushed 6y agoCompare

[ Source](https://github.com/twodogegg/kuaidi100)[ Packagist](https://packagist.org/packages/twodogeggs/kuaidi100)[ RSS](/packages/twodogeggs-kuaidi100/feed)WikiDiscussions master Synced yesterday

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

建议快递100正式会员使用
-------------

[](#建议快递100正式会员使用)

安装
--

[](#安装)

```
composer require twodogeggs/kuaidi100

```

### 实现功能

[](#实现功能)

```
- 实时查询
- 智能查询 (不推荐使用)
- 订阅推送
- 云打印

```

### 开始准备

[](#开始准备)

[快递100接口文档](https://www.kuaidi100.com/openapi/cloud_api.shtml#d03)

### 实时查询

[](#实时查询)

```
use Twodogeggs\Kuaidi100\Tracker;

try {
    $kuaidi = new Tracker([
        'key' => '你的key',
        'customer' => '你的customer'
    ]);
    $kuaidi->track('快递公司编码', '快递单号');
} catch (Exception $e) {

}
```

### 智能查询（不推荐使用，查询结果不准）

[](#智能查询不推荐使用查询结果不准)

```
use Twodogeggs\Kuaidi100\Tracker;

try {
    $kuaidi = new Tracker([
        'key' => '你的key'
    ]);

    $kuaidi->getAutoTrack('快递单号');
} catch (Exception $e) {

}
```

### 订阅推送

[](#订阅推送)

```
use Twodogeggs\Kuaidi100\Poll;

try {
    $kuaidi = new Poll([
        'key' => 'uexWYZbd2758',
    ]);

    $kuaidi->getPoll('快递公司编码', '快递单号', '回调地址', '返回格式');
    $kuaidi->getPollByParam([
        // 根据文档的param参数
    ], 'json');
} catch (Exception $e) {

}
```

### 云打印

[](#云打印)

```
use Twodogeggs\Kuaidi100\CloudPrint;

try {
    $kuaidi = new CloudPrint([
        'customer' => '快递公司编码',
        'key' => '申请的key',
        'secret' => '分配的secret'
    ]);
} catch (Exception $e) {

}
```

### 云打印的sign

[](#云打印的sign)

```
$kuaidi->getSign();
```

License
-------

[](#license)

MIT

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

3

Last Release

2515d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0263f0001ce50ccf90ca2abf6c35200ceed36b795d28f35464419c7f4129b183?d=identicon)[twodogeggs](/maintainers/twodogeggs)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/twodogeggs-kuaidi100/health.svg)

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

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

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

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

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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