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 4w 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 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

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

2830d 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

[symfony/ai-platform

PHP library for interacting with AI platform provider.

521.6M374](/packages/symfony-ai-platform)[duncan3dc/speaker

Convert text to speech using web services

11439.9k2](/packages/duncan3dc-speaker)[geniusts/hijri-dates

PHP library to convert Gregorian date to Hijri date and vice versa

104360.7k9](/packages/geniusts-hijri-dates)[discoverydesign/filament-gaze

See who's viewing a resource in Filament PHP.

173108.6k](/packages/discoverydesign-filament-gaze)[philperusse/nova-column-filter

A Laravel Nova column queryer filter

38447.7k](/packages/philperusse-nova-column-filter)[akaunting/laravel-version

Version management package for Laravel

38285.2k](/packages/akaunting-laravel-version)

PHPackages © 2026

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