PHPackages                             cjl/easykuaidi - 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. cjl/easykuaidi

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

cjl/easykuaidi
==============

A kaudi SDK.

0.2.2(7y ago)6195MITPHP

Since Nov 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/zmj888/easykuaidi)[ Packagist](https://packagist.org/packages/cjl/easykuaidi)[ RSS](/packages/cjl-easykuaidi/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (3)Versions (14)Used By (0)

 easykuaidi
============

[](#-easykuaidi-)

 对接多家快递平台的电子面单、价格查询、订阅轨迹等接口的Laravel5.5+扩展包。

[![Build Status](https://camo.githubusercontent.com/78fdb9e4e594e008ad7fe13ed79fa2a434dd8d7c0f286c39bdd5b70ee88ef454/68747470733a2f2f7472617669732d63692e6f72672f7a6d6a3838382f656173796b75616964692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/zmj888/easykuaidi)[![StyleCI](https://camo.githubusercontent.com/298fe667674b3044f87389348b03d6da1c7a2471845a4b8ffb827bdcce0e3b00/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3135373533373236372f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/157537267)[![Latest Stable Version](https://camo.githubusercontent.com/50643d8fc71a272840b18ae74a7754bfb7308ec7a1e2ba7ab99cca22a75d6b84/68747470733a2f2f706f7365722e707567782e6f72672f636a6c2f656173796b75616964692f762f737461626c65)](https://packagist.org/packages/cjl/easykuaidi)[![Total Downloads](https://camo.githubusercontent.com/b7645ab69958fc6a546d102bb4f8a5e33d27ec73f5881afaa7e977e724f8a6a4/68747470733a2f2f706f7365722e707567782e6f72672f636a6c2f656173796b75616964692f646f776e6c6f616473)](https://packagist.org/packages/cjl/easykuaidi)[![Latest Unstable Version](https://camo.githubusercontent.com/f53fd642b803182c4e4bb3654e72aa677728b46f02962d20a43ba8fb66140494/68747470733a2f2f706f7365722e707567782e6f72672f636a6c2f656173796b75616964692f762f756e737461626c65)](https://packagist.org/packages/cjl/easykuaidi)[![License](https://camo.githubusercontent.com/e5ba8cb375d7a0e4e36512c8a4e1ad3fca3720b7ab0b98692d1e4a8d2e82cc3f/68747470733a2f2f706f7365722e707567782e6f72672f636a6c2f656173796b75616964692f6c6963656e7365)](https://packagist.org/packages/cjl/easykuaidi)

说明
--

[](#说明)

实现对接多加快递平台的电子面单、价格查询、订阅轨迹等接口。 初步实现三家：中通、圆通、顺风 另外作为补充，也对接快递100的接口

安装
--

[](#安装)

```
$ composer require cjl/easykuaidi

```

Add the service provider to config/app.php in the providers array. If you're using Laravel 5.5 or greater, there's no need to do this.

```
Cjl\Easykuaidi\EasykuaidiServiceProvider::class

```

配置
--

[](#配置)

```
$ php artisan vendor:publish --provider="Cjl\Easykuaidi\EasykuaidiServiceProvider"

```

使用
--

[](#使用)

- 时效价格查询

```
$this->app('easykuaidi')->getHourPrice('无锡市','江苏','杭州市','浙江');

```

- 订阅快递轨迹

```
$this->app('easykuaidi')->subBillLog(['680000000021'], 'test')

```

在App/Listeners下面新建一个注册事件订阅者，订阅事件

```
Cjl\Easykuaidi\Events\EasykuaidiEvent

```

在EventServiceProvider里注册订阅者类，比如

```
    protected $subscribe = [
        'App\Listeners\EasykuaidiSubscriber',
    ];

```

- 电子面单

```
	$sender = new \Cjl\Easykuaidi\Data\ContactInfo();

    $sender->name = "站三";

    $sender->mobile = "13323233232";

    $sender->province = "江苏";

    $sender->city = "南通";

    $sender->country = "通州区";

    $sender->address = "冠华路900号";

    $receiver = new \Cjl\Easykuaidi\Data\ContactInfo();

    $receiver->name = "lisi";

    $receiver->mobile = "13323233232";

    $receiver->province = "江苏";

    $receiver->city = "南京";

    $receiver->country = "玄武区";

    $receiver->address = "中华路100号";

    $orderInfo = new \Cjl\Easykuaidi\Data\OrderInfo();

    $orderInfo->sender = $sender;

    $orderInfo->receiver = $receiver;

    $orderInfo->orderid = "xfs101100111011";

	$this->app('easykuaidi')->getElecOrder($orderInfo);

```

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/cjl/easykuaidi/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/cjl/easykuaidi/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 69.6% 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 ~7 days

Total

4

Last Release

2713d ago

### Community

Maintainers

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

---

Top Contributors

[![zmj888](https://avatars.githubusercontent.com/u/11935531?v=4)](https://github.com/zmj888 "zmj888 (39 commits)")[![running727](https://avatars.githubusercontent.com/u/701753?v=4)](https://github.com/running727 "running727 (17 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cjl-easykuaidi/health.svg)

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

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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