PHPackages                             ddxq/ebai-openapi-php-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. ddxq/ebai-openapi-php-sdk

ActiveLibrary[API Development](/categories/api)

ddxq/ebai-openapi-php-sdk
=========================

ebai-openapi-php-sdk

1.0.2(8y ago)2271MITPHPPHP &gt;=5.4.0

Since Apr 25Pushed 8y ago1 watchersCompare

[ Source](https://github.com/rushuinet/ebai-openapi-php-sdk)[ Packagist](https://packagist.org/packages/ddxq/ebai-openapi-php-sdk)[ RSS](/packages/ddxq-ebai-openapi-php-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (5)Used By (0)

饿百开放平台 PHP SDK 接入指南
===================

[](#饿百开放平台-php-sdk-接入指南)

接入指南
----

[](#接入指南)

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

### 安装

[](#安装)

```
php
    composer require ddxq/ebai-openapi-php-sdk

```

### 基本用法

[](#基本用法)

```
php
    use eBaiOpenApi\Config\Config;
    use eBaiOpenApi\Api\ShopService;

    //实例化一个配置类
    $config = new Config($app_key, $app_secret, false);

    //使用config和token对象，实例化一个服务对象
    $shop_service = new ShopService($config);

    //调用服务方法，获取资源
    $shop = shop_service->get_shop_list();

```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

3

Last Release

2986d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8307075?v=4)[RUSHUI](/maintainers/rushui)[@RUSHUI](https://github.com/RUSHUI)

---

Top Contributors

[![rushuinet](https://avatars.githubusercontent.com/u/7876521?v=4)](https://github.com/rushuinet "rushuinet (1 commits)")

---

Tags

ebaiopenapiphpphp-sdk

### Embed Badge

![Health badge](/badges/ddxq-ebai-openapi-php-sdk/health.svg)

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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