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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wmhost/baidu-ai-sdk

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

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 5d ago

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

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

2059d 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)
```

###  Alternatives

[imdbphp/imdbphp

Library for retrieving film and tv information from IMDb

27280.6k2](/packages/imdbphp-imdbphp)[stevebauman/unfinalize

Permanently remove final keywords from vendor packages.

14423.1k](/packages/stevebauman-unfinalize)[robertogallea/laravel-python

Run python scripts inside Laravel app

7443.8k](/packages/robertogallea-laravel-python)[mateffy/pan-analytics-viewer

View your analytics directly where you collect them.

7310.2k](/packages/mateffy-pan-analytics-viewer)[bhuvidya/laravel-countries

Laravel Countries is a bundle for Laravel, providing Almost ISO 3166\_2, 3166\_3, currency, Capital and more for all countries. Bug kudos to Christoph Kempen, on whose work this package is heavily based (webpatser/laravel-countries).

3229.9k1](/packages/bhuvidya-laravel-countries)[print-filament/print

The print-filament package is a simple and efficient tool that allows users to quickly print the current webpage directly from their browser. This plugin enhances the convenience of printing online content by providing a one-click solution for generating printer-friendly versions of the pages you're viewing.

147.2k](/packages/print-filament-print)

PHPackages © 2026

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