PHPackages                             niefufeng/express - 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. niefufeng/express

ActiveLibrary

niefufeng/express
=================

支持快递鸟的快递查询

0.0.2(2y ago)029↓100%MITPHPPHP ^8.1

Since Jan 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/niefufeng/php-express-sdk)[ Packagist](https://packagist.org/packages/niefufeng/express)[ RSS](/packages/niefufeng-express/feed)WikiDiscussions master Synced 1mo ago

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

Express
=======

[](#express)

快递鸟的快递查询PHP SDK，最低支持 PHP8.1

[![Latest Stable Version](https://camo.githubusercontent.com/1c697376dcca8fdf214e08eb99ca2bf8ad52e29fb819ec9804e87b6a4a55d3b8/68747470733a2f2f706f7365722e707567782e6f72672f6e6965667566656e672f657870726573732f762f737461626c65)](https://packagist.org/packages/niefufeng/express)[![Total Downloads](https://camo.githubusercontent.com/47043dc1ba40f6eaea1042cad4e0716f57d32d556de66e3b5e0528efc83f032b/68747470733a2f2f706f7365722e707567782e6f72672f6e6965667566656e672f657870726573732f646f776e6c6f616473)](https://packagist.org/packages/niefufeng/express)[![License](https://camo.githubusercontent.com/b8d1c3480068a440d41c53c6d43d94114fb7c0a8aae8975c65cf5dda939f8279/68747470733a2f2f706f7365722e707567782e6f72672f6e6965667566656e672f657870726573732f6c6963656e7365)](https://packagist.org/packages/niefufeng/express)

安装
--

[](#安装)

```
$ composer require niefufeng/express
```

配置
--

[](#配置)

在使用本扩展之前，你需要去 [快递鸟](http://www.kdniao.com/reg) 注册申请，获取到 `app_id` 和 `app_key`。

使用
--

[](#使用)

```
use NieFufeng\Express\Providers\Bird;
use NieFufeng\Express\Enums\BirdShipperCodes;
use NieFufeng\Express\Enums\RequestTypes;

$trackingCode = '88888888';// 快递单号
$shippingCode = BirdShipperCodes::JD;// 快递编号
$phone = '';// 寄件人或者收件人的手机尾号后四位（BirdShipperCodes::SF（顺丰）必填）

$express = new Bird('you app id', 'you app key');
// 请求失败会抛出 ApiException，根据 RequestType 不同，响应格式也不同，请自行调用打印
$info = $express->track($trackingCode, $shippingCode, RequestTypes::StandardEdition);
```

参考
--

[](#参考)

- [快递鸟普通版即时查询](https://www.yuque.com/kdnjishuzhichi/dfcrg1/tb8nyy)
- [快递鸟增值版即时查询](https://www.yuque.com/kdnjishuzhichi/dfcrg1/yv7zgv)
- [快递鸟地图版即时查询](https://www.yuque.com/kdnjishuzhichi/dfcrg1/ed5y64)
- [快递鸟快递公司编码](https://www.yuque.com/kdnjishuzhichi/dfcrg1/mza2ln)

License
-------

[](#license)

MIT

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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

2

Last Release

851d ago

### Community

Maintainers

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

---

Top Contributors

[![niefufeng](https://avatars.githubusercontent.com/u/3882254?v=4)](https://github.com/niefufeng "niefufeng (2 commits)")

###  Code Quality

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/niefufeng-express/health.svg)

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

###  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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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