PHPackages                             fnf1993/aip-speech - 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. fnf1993/aip-speech

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

fnf1993/aip-speech
==================

aip speech by baidu, speech recognition

179PHP

Since Sep 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/fnf1993/aip-speech)[ Packagist](https://packagist.org/packages/fnf1993/aip-speech)[ RSS](/packages/fnf1993-aip-speech/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

百度语音识别（[AipSpeech](http://ai.baidu.com/docs/#/ASR-Online-PHP-SDK/top "AipSpeech")）
==================================================================================

[](#百度语音识别aipspeech)

一、简介
====

[](#一简介)

### 1. 接口名称

[](#1-接口名称)

接口能力简要描述

### 2. 语音识别

[](#2-语音识别)

将人类的语音中的词汇内容转换为计算机可读的输入，例如按键、二进制编码或者字符序列

二、安装及使用
=======

[](#二安装及使用)

### 1. 安装

[](#1-安装)

```
`composer require fnf_1993/aip-speech`

```

### 2.使用

[](#2使用)

```
```
$app_id = 'xxx';
$api_key = 'xxxx';
$secret_key = 'xxxx';

$aipSpeech = new AipSpeech($app_id, $api_key, $secret_key);
$path = "0.wav";
// 识别本地文件
$result = $aipSpeech->asr(file_get_contents($path), 'wav', 16000,[
    'lan' => 'zh'
]);

// 从URL获取文件识别
$aipSpeech->asr(null, 'pcm', 16000, array(
    'url' => 'http://121.40.195.233/res/16k_test.pcm',
    'callback' => 'http://xxx.com/receive',
))；

var_dump($result);

```

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/34fe640181be25d8b2d6650b774bfb6252699b09a388c685dc5e60906dc2d2c8?d=identicon)[Franktrue](/maintainers/Franktrue)

---

Top Contributors

[![franktrue](https://avatars.githubusercontent.com/u/10108380?v=4)](https://github.com/franktrue "franktrue (6 commits)")

### Embed Badge

![Health badge](/badges/fnf1993-aip-speech/health.svg)

```
[![Health](https://phpackages.com/badges/fnf1993-aip-speech/health.svg)](https://phpackages.com/packages/fnf1993-aip-speech)
```

###  Alternatives

[shpasser/gae-support-l5

Google App Engine Support for Laravel 5.1 apps.

15915.4k](/packages/shpasser-gae-support-l5)

PHPackages © 2026

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