PHPackages                             wjxcodes/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wjxcodes/express

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

wjxcodes/express
================

聚合数据快递查询扩展.

1.0.0(6y ago)113MITPHP

Since Jul 13Pushed 6y agoCompare

[ Source](https://github.com/wjxcodes/express)[ Packagist](https://packagist.org/packages/wjxcodes/express)[ RSS](/packages/wjxcodes-express/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

 express
=========

[](#-express-)

 聚合数据快递查询扩展。

安装
--

[](#安装)

```
$ composer require wjxcodes/express -vvv
```

配置
--

[](#配置)

在使用本扩展之前，你需要去 [聚合数据](https://www.juhe.cn/docs/api/id/43) 注册账号，然后申请使用物流查询接口，获取应用的 AppKey。

使用
--

[](#使用)

```
use Wjxcodes\Express\Express;

$appkey = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx';

$weather = new Express($appkey);
```

### 获取物流信息

[](#获取物流信息)

#### 参数说明

[](#参数说明)

`com`必填，物流公司编号 `no`必填，物流单号 `receiverPhone`,非必填，收件人手机号后四位，顺丰快递需要此参数

```
$response = $express->getExpressInfo($com,$no,$receiverPhone);
```

---

### 在 Laravel 中使用

[](#在-laravel-中使用)

在 Laravel 中使用也是同样的安装方式，配置写在 `config/services.php` 中：

```
    .
    .
    .
     'express' => [
        'key' => env('JUHE_EXPRESS_APP_KEY'),
    ],
```

然后在 `.env` 中配置 `JUHE_EXPRESS_APP_KEY` ：

```
JUHE_EXPRESS_APP_KEY=xxxxxxxxxxxxxxxxxxxxx
```

可以用两种方式来获取 `Wjxcodes\Express\Express` 实例：

#### 方法参数注入

[](#方法参数注入)

```
    .
    .
    .
    public function query(Express $express)
    {
        $response = $express->getExpressInfo($com,$no,$receiverPhone);
    }
    .
    .
    .
```

#### 服务名访问

[](#服务名访问)

```
    .
    .
    .
    public function query()
    {
        $response = app('express')->getExpressInfo($com,$no,$receiverPhone);
    }
    .
    .
    .
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

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

Unknown

Total

1

Last Release

2545d ago

### Community

Maintainers

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

---

Top Contributors

[![wjxcodes](https://avatars.githubusercontent.com/u/32558918?v=4)](https://github.com/wjxcodes "wjxcodes (9 commits)")

### Embed Badge

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

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

###  Alternatives

[clue/utf8-react

Streaming UTF-8 parser, built on top of ReactPHP.

6611.0M3](/packages/clue-utf8-react)[derhansen/sf_banners

Banner-Management Extension based on Extbase and Fluid. Loads banners asynchronously using JavaScript.

1046.0k](/packages/derhansen-sf-banners)[renttek/magento2-virtual-controllers

A module which enables developers to create virtual controllers in Magento 2

303.1k](/packages/renttek-magento2-virtual-controllers)

PHPackages © 2026

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