PHPackages                             cblink-service/meituan-dispatch - 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. cblink-service/meituan-dispatch

ActiveLibrary

cblink-service/meituan-dispatch
===============================

Package description here.

v0.1.0(5y ago)2873MITPHPCI failing

Since Aug 24Pushed 4y ago3 watchersCompare

[ Source](https://github.com/cblink-service/meituan-dispatch)[ Packagist](https://packagist.org/packages/cblink-service/meituan-dispatch)[ RSS](/packages/cblink-service-meituan-dispatch/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

 /meituan-dispatch
===================

[](#-meituan-dispatch-)

 主要用户 Cblink 美团配送服务平台请求的SDK.

Installing
----------

[](#installing)

```
$ composer require cblink-service/meituan-dispatch -vvv
```

Usage
-----

[](#usage)

#### 美团关联门店创建

[](#美团关联门店创建)

```
$data = [
        "AppId" => "123",
        "secret"=>"test",
        "app_key"=>"test",
        "delivery_id" => 169736,
        "order_id" => 169736,
        "poi_seq" => 40101,
        "shop_id" => "test_0001",
        "delivery_service_code" => 4011,
        "receiver_name" => "test",
        "receiver_address" => "深圳",
        "receiver_phone" => 13944702732,
        "receiver_lng" => "116427694",
        "receiver_lat" => 39902779,
        "goods_value" => "100",
        "goods_weight" => 1,
        "goods_detail" => "",
    ];

    $config = [
        // 配置信息
        'private' => true,
        'base_url' => 'http://test.com',
        'app_id' => '123',
        'key' => 'test',
        'secret' => 'test',
        'uuid' => ''
    ];

    $result = (new MeituanDispathService($config))->order->createShopOrder($data);

```

### 创建商户信息

[](#创建商户信息)

```
    $data = [
                'name' => 'test',
                'app_key' => 'test',
                'secret' => 'test',
                'callback_status_url' => 'http://my.erp.cblink.test/api/hook/meituan/general/dispatch/status',
                'callback_error_url' => 'http://my.erp.cblink.test/api/hook/meituan/general/dispatch/exception',
                'callback_scope_url' => '',
                'callback_risk_url' => '',
                'callback_shop_url' => '',
            ];

            $config = [
                // 配置信息
                'private' => true,
                'base_url' => 'http://meituan-dispatch.erp.cblink.test/',
                'app_id' => '45799194',
                'key' => 'kK4xEVJk4N',
                'secret' => 'NLkhKSnLIbMSJuHQyiBKMgU3Pk5Sua',
                'uuid' => ''
            ];

    $result = (new MeituanDispath($config))->order->registerMerchant($data);

```

TODO

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

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/cblinkservice//meituan-dispatch-service/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/cblinkservice//meituan-dispatch-service/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

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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

2092d ago

### Community

Maintainers

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

---

Top Contributors

[![easytrue](https://avatars.githubusercontent.com/u/25851780?v=4)](https://github.com/easytrue "easytrue (12 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/cblink-service-meituan-dispatch/health.svg)

```
[![Health](https://phpackages.com/badges/cblink-service-meituan-dispatch/health.svg)](https://phpackages.com/packages/cblink-service-meituan-dispatch)
```

###  Alternatives

[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)[laravel/browser-kit-testing

Provides backwards compatibility for BrowserKit testing in the latest Laravel release.

5139.4M286](/packages/laravel-browser-kit-testing)[jasonmccreary/laravel-test-assertions

A set of helpful assertions when testing Laravel applications.

3513.9M32](/packages/jasonmccreary-laravel-test-assertions)[webmozarts/strict-phpunit

Enables type-safe comparisons of objects in PHPUnit

31252.7k5](/packages/webmozarts-strict-phpunit)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[lastzero/test-tools

Increases testing productivity by adding a service container and self-initializing fakes to PHPUnit

2244.3k13](/packages/lastzero-test-tools)

PHPackages © 2026

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