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

ActiveYii-extension

raysoft/kdniao
==============

快递鸟API for the Yii framework

0.1.2(9y ago)0770PHP

Since Aug 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/jesonray/kdninao)[ Packagist](https://packagist.org/packages/raysoft/kdniao)[ RSS](/packages/raysoft-kdniao/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

快递鸟API for Yii 2
================

[](#快递鸟api-for-yii-2)

官方的文档比较混乱, 提供的demo很原生态, 故制作此模块

目前已实现:

- 即时查询接口
- 订阅查询接口
- 在线下单
- 电子面单
- 单号识别

官方文档: ()

需要`APP ID`和`APP KEY`, 请注册申请后, 在后台查看()

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --dev --prefer-dist raysoft/kdniao

```

or add

```
"raysoft/kdniao": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Once the extension is installed, simply modify your application configuration as follows:

```
return [
    'components' => [
        'kdniao' => [
            'class' => 'raysoft\kdniao\Kdniao',
            'appId' => '商户ID',
            'appKey' => 'APP Key',
        ],
        // ...
    ],
    // ...
];
```

You can then access this module in your code:

```
Yii::$app->kdniao...

```

即时查询接口:

```
Yii::$app->kdniao->track('快递单号', '快递公司代码(不知道可留空)');

```

单号识别:

```
Yii::$app->kdniao->shipper('快递单号');

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

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

Total

3

Last Release

3543d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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