PHPackages                             miaomiao/meituan-delivery - 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. miaomiao/meituan-delivery

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

miaomiao/meituan-delivery
=========================

美团配送(ThinkPHP插件)

v1.0.1(1y ago)06MITPHP

Since Sep 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/hao12306/MeituanDelivery)[ Packagist](https://packagist.org/packages/miaomiao/meituan-delivery)[ RSS](/packages/miaomiao-meituan-delivery/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (0)

美团配送(TP6插件)
===========

[](#美团配送tp6插件)

thinkphp6框架下vendor插件,其它tp版本未做测试,请谨慎使用

---

方法一、vendor库 命令安装步骤
------------------

[](#方法一vendor库-命令安装步骤)

#### 安装命令

[](#安装命令)

1. 切换packagist镜像源,否则需翻墙

```
composer config -g repo.packagist composer https://packagist.org

```

2. 安装插件

```
//composer require miaomiao/meituan-delivery:dev-master --ignore-platform-req=ext-swoole
composer require miaomiao/meituan-delivery:v1.0.0 --ignore-platform-req=ext-swoole

//卸载
composer remove miaomiao/meituan-delivery:v1.0.0 --ignore-platform-req=ext-swoole

composer.json手动添加自动加载
"autoload": {
    "psr-4": {
        "MeituanDelivery\\": "vendor/miaomiao/meituan-delivery/src"
    }
},

更新自动加载文件
composer dump-autoload

```

---

方法二、extend库 手动安装步骤
------------------

[](#方法二extend库-手动安装步骤)

#### 复制文件

[](#复制文件)

把src下文件复制到TP6 extend文件夹下,重命名为MeituanDelivery,因框架自动加载可直接使用

---

使用示例
----

[](#使用示例)

```
$req = new MeituanShopCreateReq();
$req->setShopId(1);
$req->setShopName("xxx");
$res = (new Meituan("appkey", "secret"))->shopCreate($req);
halt($res);

```

#### 联系作者

[](#联系作者)

#### 其它信息

[](#其它信息)

```
创建标签
git tag v1.0.0
推送单个标签
git push origin v1.0.0
推送所有标签
git push origin --tags

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity4

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

661d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/162961?v=4)[Alvin Liang](/maintainers/aliang)[@aliang](https://github.com/aliang)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/miaomiao-meituan-delivery/health.svg)

```
[![Health](https://phpackages.com/badges/miaomiao-meituan-delivery/health.svg)](https://phpackages.com/packages/miaomiao-meituan-delivery)
```

###  Alternatives

[cedaro/woocommerce-coupon-links

A WordPress plugin to automatically apply a WooCommerce coupon code to the cart with a URL.

13675.8k](/packages/cedaro-woocommerce-coupon-links)[alibayat/laravel-commentable

Implementing a Comment system for Laravel's Eloquent models.

189.0k](/packages/alibayat-laravel-commentable)

PHPackages © 2026

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