PHPackages                             baidu-smartapp/openapi - 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. baidu-smartapp/openapi

ActiveLibrary

baidu-smartapp/openapi
======================

0.1.5(3y ago)72.3k1MITPHP

Since Feb 18Pushed 3y ago3 watchersCompare

[ Source](https://github.com/baidu/smartapp-openapi-php)[ Packagist](https://packagist.org/packages/baidu-smartapp/openapi)[ RSS](/packages/baidu-smartapp-openapi/feed)WikiDiscussions main Synced 1mo ago

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

项目名称
====

[](#项目名称)

百度智能小程序服务端 OpenAPI SDK for php，是基于小程序服务端 OpenAPI 封装的一套让开发者方便使用的 SDK， 它可以帮开发者减少理解和使用 OpenAPI 的成本， 减少开发者直接调用服务端接口不当而引起的错误， 避免在开发中走弯路。

环境要求
----

[](#环境要求)

- php 版本不低于 5.5.0

目录说明
----

[](#目录说明)

1. src/ openapi 实现源码
2. examples/ 各方法调用样例

使用引导
----

[](#使用引导)

1. 在项目下创建，composer.json
2. 引入sdk的依赖 ```
    {
     "require": {
         "baidu-smartapp/openapi": "0.1.5"
     }
    }
    ```
3. `composer install` 后，就可以在您的项目中引入 `require __DIR__ . '/vendor/autoload.php';` 后就可以开始使用啦！
4. 参考 `examples` 中的使用方式，调用您需要的 SDK 函数。
5. 函数具体功能参考文档：
    - 开发者：[https://smartprogram.baidu.com/docs/develop/serverapi/introduction\_for\_openapi\_sdk/](https://smartprogram.baidu.com/docs/develop/serverapi/introduction_for_openapi_sdk/)
    - 第三方平台：[https://smartprogram.baidu.com/docs/third/introduction\_for\_thirdparty\_sdk/](https://smartprogram.baidu.com/docs/third/introduction_for_thirdparty_sdk/)

联系我们
----

[](#联系我们)

如流群号 "5702992", 如流下载地址：

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity44

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

Recently: every ~27 days

Total

6

Last Release

1442d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c5ef332612f81e76b4f738ced8a5f9652c68f6c599a77c7c72b6a41bdd77ea1c?d=identicon)[msfruit](/maintainers/msfruit)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/baidu-smartapp-openapi/health.svg)

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

PHPackages © 2026

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