PHPackages                             tp-baidu/aip-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. tp-baidu/aip-sdk

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

tp-baidu/aip-sdk
================

baidu pulic ai php sdk

v1.0(2y ago)013Apache-2.0PHPPHP &gt;=5.3.3

Since Aug 17Pushed 2y agoCompare

[ Source](https://github.com/lrseryou/php-sdk)[ Packagist](https://packagist.org/packages/tp-baidu/aip-sdk)[ RSS](/packages/tp-baidu-aip-sdk/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (2)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

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 88.9% 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

Unknown

Total

1

Last Release

1051d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32156083?v=4)[过路的橘猫](/maintainers/lrseryou)[@lrseryou](https://github.com/lrseryou)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/tp-baidu-aip-sdk/health.svg)

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

###  Alternatives

[franzl/studio

Develop your Composer libraries with style

1.1k639.7k16](/packages/franzl-studio)[shixinke/php-ide-helper

a tool that provides auto-completion for php frameworks and extensions

2211.4k1](/packages/shixinke-php-ide-helper)[novius/laravel-nova-order-nestedset-field

A Laravel Nova field that make your resources orderable

2393.1k2](/packages/novius-laravel-nova-order-nestedset-field)[dm/ajaxcom

Controls Ajax from PHP

1516.8k](/packages/dm-ajaxcom)[hyperf-ext/sms

The Hyperf SMS package.

254.4k](/packages/hyperf-ext-sms)

PHPackages © 2026

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