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

ActiveLibaray

opensdk/meituan
===============

美团开放平台SDK

v0.0.1(6y ago)1232MITPHPPHP &gt;=7.0.0

Since May 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/beJuvenile/opensdk-meituan)[ Packagist](https://packagist.org/packages/opensdk/meituan)[ RSS](/packages/opensdk-meituan/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

opensdk-meituan
===============

[](#opensdk-meituan)

### 介绍

[](#介绍)

本类库是对美团开放平台API的封装

#### 使用示例

[](#使用示例)

```
require 'vendor/autoload.php';

use OpenSDK\Meituan\Client;
use OpenSDK\Meituan\Requests\MeituanOrdersQueryGetRequest;

$c = new Client();
$c->appKey = $this->appKey;
$c->appSecret = $this->appSecret;
$c->gatewayUrl = $this->url;
$req = new MeituanOrdersQueryGetRequest();

$oid = '';
//订单id
$req->setOid($oid);
//平台唯一标识
$req->setSid('326c433346a4760ef5e2');
$req->setType(4);

$c->execute($req);
$response = $c->result();

if(empty($response) || !isset($response[0]['order']['orderid'])){
    echo '无结果';exit;
}
var_dump($response);exit;
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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

2194d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2632156?v=4)[Eric Zhang](/maintainers/zhange)[@zhange](https://github.com/zhange)

---

Top Contributors

[![beJuvenile](https://avatars.githubusercontent.com/u/41072301?v=4)](https://github.com/beJuvenile "beJuvenile (3 commits)")[![yangq210](https://avatars.githubusercontent.com/u/58154486?v=4)](https://github.com/yangq210 "yangq210 (1 commits)")

---

Tags

sdk

### Embed Badge

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

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

###  Alternatives

[aws/aws-crt-php

AWS Common Runtime for PHP

416300.1M4](/packages/aws-aws-crt-php)[appwilio/cdek-sdk

CDEK API SDK (cdek.ru)

406.5k](/packages/appwilio-cdek-sdk)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

223.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

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