PHPackages                             wwhu/kdniao - 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. wwhu/kdniao

ActiveLibrary[API Development](/categories/api)

wwhu/kdniao
===========

快递鸟API Laravel5

1.0.3(8y ago)1121MITPHPPHP &gt;=5.5.9

Since Jan 30Pushed 8y ago2 watchersCompare

[ Source](https://github.com/wwhu668/kdniao)[ Packagist](https://packagist.org/packages/wwhu/kdniao)[ RSS](/packages/wwhu-kdniao/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (3)Used By (1)

集成快递鸟 API
=========

[](#集成快递鸟-api)

目前提供 `查询物流接口`

安装
--

[](#安装)

1. 安装包

    > $ composer require wwhu/kdniao
2. 创建配置文件

    > $ php artisan vendor:publish --provider="Wwhu\\Kdniao\\KdniaoServiceProvider"
3. 在 `config/app.php` 文件 `$providers` 数组中添加服务

    > Wwhu\\Kdniao\\KdniaoServiceProvider::class,
4. 在 `config/app.php` 文件 `$aliases` 数组中添加别名

    > 'Kdniao' =&gt; Wwhu\\Kdniao\\Facades\\Kdniao::class,

使用
--

[](#使用)

获取物流对应代号

```
\Kdniao::getCode('顺丰');// 物流名称须在 `kdniao.php` 配置文件 `codes` 数组中
```

查询物流踪迹

```
$LogisticCode = '23423422332', // 物流单号
$ShipperCode = 'SF', // \Kdniao::getCode('顺丰'); //物流公司代号

\Kdniao::getOrderTraces($LogisticCode, $ShipperCode);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

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

Total

3

Last Release

3073d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14002391?v=4)[Autumn](/maintainers/wwhu668)[@wwhu668](https://github.com/wwhu668)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/wwhu-kdniao/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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