PHPackages                             honki/kdbird - 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. honki/kdbird

ActiveLibrary[API Development](/categories/api)

honki/kdbird
============

kdbird service api

3.1.0(5y ago)243MITPHP

Since Aug 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/honkkki/kdbird)[ Packagist](https://packagist.org/packages/honki/kdbird)[ RSS](/packages/honki-kdbird/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (8)Used By (0)

快递鸟物流查询 🦅
---------

[](#快递鸟物流查询-)

### 安装

[](#安装)

```
composer require honki/kdbird

```

### 配置

[](#配置)

在.env文件中添加

```
KDBIRD_USERID=                // 对应用户ID
KDBIRD_APIKEY=                // 对应API key

```

### 如何使用

[](#如何使用)

##### 直接单号获取物流信息

[](#直接单号获取物流信息)

```
    use Honki\KdBird\Logistics;

    $logis = new Logistics();
    return $logis->getLogistics('物流单号');

```

##### 物流轨迹即时查询

[](#物流轨迹即时查询)

```
  use Honki\KdBird\KdBird;

  $kdbird = new KdBird();
  return $kdbird->getOrderTraces('快递公司编码','运单号');

```

```
返回数据为:
{
"EBusinessID": "",
"ShipperCode": "",
"Success": true,
"LogisticCode": "",
"State": "3",
"Traces": [
    // 快递物流信息
]
}

```

##### 通过单号查询物流公司

[](#通过单号查询物流公司)

```
  $kdbird = new KdBird();
  return $kdbird->getName('运单号');

```

```
返回数据为:
{
"LogisticCode" : "",
"Shippers" : [ {
"ShipperName" : "圆通速递",
"ShipperCode" : "YTO"
} ],
"EBusinessID" : "",
"Code" : "",
"Success" : true
}

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

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

Recently: every ~119 days

Total

7

Last Release

1993d ago

Major Versions

1.0.0 → 2.0.02019-08-11

2.3.0 → 3.0.02020-11-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/67c74dd201f7b4c08af6a0f5a83dac7725da83e17d3f83bad11ae3bcccb26287?d=identicon)[honkki](/maintainers/honkki)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/honki-kdbird/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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