PHPackages                             jayin/kuaidi - 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. jayin/kuaidi

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

jayin/kuaidi
============

express query

2.0.0(9y ago)4452MITPHP

Since Jun 22Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Jayin/kuaidi)[ Packagist](https://packagist.org/packages/jayin/kuaidi)[ RSS](/packages/jayin-kuaidi/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (8)Used By (0)

快递查询 [![Latest Stable Version](https://camo.githubusercontent.com/e125f049dd09323706fe3666b285a0df632c9044efcaa2b0f3a2ff9e1a9e0119/68747470733a2f2f706f7365722e707567782e6f72672f6a6179696e2f6b75616964692f762f737461626c652e737667)](https://packagist.org/packages/jayin/kuaidi)
==================================================================================================================================================================================================================================================================================

[](#快递查询-)

**注意**该项目依赖的快递100接口已废弃无法使用了

安装
--

[](#安装)

```
composer require "jayin/kuaidi"

```

使用
--

[](#使用)

```
require_once("vendor/autoload.php");

$info  = \Kuaidi\Kuaidi::query('yuantong', '882******15');
echo json_encode($info);
```

正常响应：

```
array(11) {
  ["message"]=>
  string(2) "ok"
  ["nu"]=>
  string(12) "2299***1653"
  ["companytype"]=>
  string(8) "shentong"
  ["ischeck"]=>
  string(1) "1"
  ["com"]=>
  string(8) "shentong"
  ["updatetime"]=>
  string(19) "2016-08-28 01:42:45"
  ["status"]=>
  string(3) "200"
  ["condition"]=>
  string(3) "F00"
  ["codenumber"]=>
  string(12) "229****1653"
  ["data"]=>
  array(8) {
    [0]=>
    array(4) {
      ["time"]=>
      string(19) "2016-08-01 18:15:15"
      ["location"]=>
      string(0) ""
      ["context"]=>
      string(36) "已签收,签收人是: 本人签收"
      ["ftime"]=>
      string(19) "2016-08-01 18:15:15"
    }
    [1]=>
    array(4) {
      ["time"]=>
      string(19) "2016-08-01 14:40:14"
      ["location"]=>
      string(0) ""
      ["context"]=>
      string(71) "广东广州xxxxx的派件员 华师北 正在派件"
      ["ftime"]=>
      string(19) "2016-08-01 14:40:14"
    }
  }
  ["state"]=>
  string(1) "3"
}

```

错误响应：

```
array(2) {
  ["status"]=>
  string(3) "201"
  ["message"]=>
  string(60) "快递公司参数异常：单号不存在或者已经过期"
}

```

快递公司编码
------

[](#快递公司编码)

```
申通=”shentong”
EMS=”ems”
顺丰=”shunfeng”
圆通=”yuantong”
中通=”zhongtong”
韵达=”yunda”
天天=”tiantian”
汇通=”huitongkuaidi”
全峰=”quanfengkuaidi”
德邦=”debangwuliu”
宅急送=”zhaijisong”

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

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

Recently: every ~16 days

Total

7

Last Release

3593d ago

Major Versions

1.2.0 → 2.0.02016-08-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/62f80da352033f962733c8ce149a74f1ea586ab9bcb6b805311281d9563509b7?d=identicon)[Jayin](/maintainers/Jayin)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/jayin-kuaidi/health.svg)

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

###  Alternatives

[cedaro/gravity-forms-iframe

Embed a Gravity Form on any site using an iframe.

1543.0k](/packages/cedaro-gravity-forms-iframe)[krifollk/module-code-generator

Code generator for magento 2

256.4k](/packages/krifollk-module-code-generator)

PHPackages © 2026

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