PHPackages                             wmhost/baidu-ai-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. wmhost/baidu-ai-sdk

ActiveLibrary

wmhost/baidu-ai-sdk
===================

baidu pulic ai php sdk

2.2.20(5y ago)113Apache-2.0PHPPHP &gt;=5.3.3

Since Jan 18Pushed 5y agoCompare

[ Source](https://github.com/wmhost/baidu-ai-sdk)[ Packagist](https://packagist.org/packages/wmhost/baidu-ai-sdk)[ RSS](/packages/wmhost-baidu-ai-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (5)Used By (0)

安装PHP SDK
=========

[](#安装php-sdk)

目录结构
----

[](#目录结构)

```
  ├── AipOcr.php                // OCR
  ├── AipNlp.php                // NLP
  ├── AipFace.php               // 人脸
  ├── AipContentCensor.php      // 内容审核
  ├── AipImageClassify.php      // 图像识别
  ├── AipImageSearch.php        // 图像搜索
  ├── AipKg.php                 // 知识图谱
  ├── AipSpeech.php             // 语音
  └── lib
      ├── AipHttpClient.php        //内部http请求类
      ├── AipBCEUtil.php           //内部工具类
      └── AipBase                  //Aip基类

```

**支持 PHP版本：5.3+**

**Composer安装：**

```
  composer require baidu/aip-sdk

```

**手动安装步骤如下：**

1. 下载PHP SDK。
2. 复制`Aip*.php`以及`lib/*`到工程。
3. require\_once '对应服务';

使用文档
====

[](#使用文档)

参考[官方网站](http://ai.baidu.com/docs#/Begin/top)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Total

4

Last Release

2052d ago

### Community

Maintainers

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

---

Top Contributors

[![iMuduo](https://avatars.githubusercontent.com/u/5443624?v=4)](https://github.com/iMuduo "iMuduo (16 commits)")

### Embed Badge

![Health badge](/badges/wmhost-baidu-ai-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/wmhost-baidu-ai-sdk/health.svg)](https://phpackages.com/packages/wmhost-baidu-ai-sdk)
```

PHPackages © 2026

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