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

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

fyflzjz/speech
==============

语音合成SDK，百度语音

v0.0.3(7y ago)1511MITPHPPHP &gt;=5.6

Since Nov 14Pushed 7y ago1 watchersCompare

[ Source](https://github.com/fyflzjz/speech)[ Packagist](https://packagist.org/packages/fyflzjz/speech)[ Docs](https://github.com/fyflzjz/speech)[ RSS](/packages/fyflzjz-speech/feed)WikiDiscussions master Synced 1mo ago

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

语音合成SDK
-------

[](#语音合成sdk)

安装
--

[](#安装)

```
composer require fyflzjz/paypal "v0.0.1"
```

demo

```
$app_id = 'app id';
$app_key = 'app key';
$secret_key = 'secret key';
$log_path = '';
$client = new \fyflzjz\speech\Baidu\AipSpeech($app_id, $app_key, $secret_key, $log_path);
$result = $client->synthesis('你好百度', 'zh',1,['vol' => 5,]);

// 识别正确返回语音二进制 错误则返回json 参照下面错误码
if (!is_array($result)) {
	file_put_contents('audio.mp3', $result);
}

```

参照百度官方文档

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

Total

3

Last Release

2733d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/22771b07f672e6ce74d536a4290d01e8288163be5d008c3caf93545e85356fb6?d=identicon)[ferminfu](/maintainers/ferminfu)

---

Top Contributors

[![ferminfeng](https://avatars.githubusercontent.com/u/14138713?v=4)](https://github.com/ferminfeng "ferminfeng (3 commits)")

---

Tags

speechAipSpeech

### Embed Badge

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

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

###  Alternatives

[duncan3dc/speaker

Convert text to speech using web services

11539.1k1](/packages/duncan3dc-speaker)[whitehat101/apr1-md5

Apache's APR1-MD5 algorithm in pure PHP

349.7M10](/packages/whitehat101-apr1-md5)

PHPackages © 2026

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