PHPackages                             kyour-cn/meituan-sdk - 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. [API Development](/categories/api)
4. /
5. kyour-cn/meituan-sdk

ActiveLibrary[API Development](/categories/api)

kyour-cn/meituan-sdk
====================

美团开放平台PHP SDK

v1.0.3(1y ago)032MITPHPPHP &gt;=7.1

Since Aug 29Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/kyour-cn/meituan-sdk)[ Packagist](https://packagist.org/packages/kyour-cn/meituan-sdk)[ RSS](/packages/kyour-cn-meituan-sdk/feed)WikiDiscussions main Synced 3d ago

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

### 美团外卖开放平台PHP SDK

[](#美团外卖开放平台php-sdk)

美团外卖开放平台PHP SDK，支持`零售综合`、`医疗综合`以及`团好货`三大板块。

本仓库Fork至`abbotton/meituan-takeaway`

安装
==

[](#安装)

```
composer require kyour-cn/meituan-sdk
```

使用
==

[](#使用)

```
use MeiTuan\Application;

......

$config = [
    'app_id' => 'xxx',
    'app_secret' => 'xxx',
    'request_url' => '', // 默认 `https://waimaiopen.meituan.com/api/v1/`
];

$app = new Application($config);

$params = ['order_id' => '27061900338318741', 'is_mt_logistics' => 1];
$orderDetail = $app->order->getOrderDetail($params);

print_r(json_decode($orderDetail, true));

// 商品类、活动类接口支持异步队列
$app->goods->async()->create([]);
......
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance50

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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 ~287 days

Total

4

Last Release

490d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c57985f59dee65fb0bd442b0eea026e3acd3339ac5fb3f9035008cdf8b36cd62?d=identicon)[kyour-cn](/maintainers/kyour-cn)

---

Top Contributors

[![kyour-cn](https://avatars.githubusercontent.com/u/38110013?v=4)](https://github.com/kyour-cn "kyour-cn (5 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kyour-cn-meituan-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/kyour-cn-meituan-sdk/health.svg)](https://phpackages.com/packages/kyour-cn-meituan-sdk)
```

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)

PHPackages © 2026

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