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

ActiveLibrary[API Development](/categories/api)

meituan-openapi/meituan-openapi-sdk
===================================

meituan-openapi-php-sdk

110PHP

Since Jun 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/rorojr/meituan-openapi)[ Packagist](https://packagist.org/packages/meituan-openapi/meituan-openapi-sdk)[ RSS](/packages/meituan-openapi-meituan-openapi-sdk/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP SDK 接入指南 &amp; CHANGELOG
============================

[](#php-sdk-接入指南--changelog)

转自其他人，在此基础上开发
-------------

[](#转自其他人在此基础上开发)

仿照饿了么openApi编写
--------------

[](#仿照饿了么openapi编写)

接入指南
----

[](#接入指南)

1. PHP version &gt;= 5.4 &amp; curl extension support
2. 通过composer安装SDK
3. 创建Config配置类，填入key，secret和sandbox参数
4. 使用sdk提供的接口进行开发调试
5. 上线前将Config中$sandbox值设为false以及填入正式环境的key和secret

安装方法
----

[](#安装方法)

composer require meituan-openapi/meituan-openapi-sdk:dev-master

### 基本用法

[](#基本用法)

```
        // 门店映射
        $config = new Config($developerId, $businessId, $signKey);
        $client = new OAuthClient($config);
        $url = $client->storemap($ePoiId);
        header('location: ' . $url);
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6fe3e4034338787b45365fd9dcad52d3d4172dd75f1a53cbbcf9098b8bfc912e?d=identicon)[rorojr](/maintainers/rorojr)

---

Top Contributors

[![rorojr](https://avatars.githubusercontent.com/u/12843608?v=4)](https://github.com/rorojr "rorojr (5 commits)")

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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