PHPackages                             reactphp-x/tts - 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. reactphp-x/tts

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

reactphp-x/tts
==============

v1.0.1(1y ago)07MITPHP

Since Aug 10Pushed 1y agoCompare

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

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

reactphp-x-tts
==============

[](#reactphp-x-tts)

install
-------

[](#install)

```
composer require reactphp-x/tts -vvv
```

Usage
-----

[](#usage)

```
require __DIR__ . "/vendor/autoload.php";

use ReactphpX\Tts\Tts;

(new Tts(getenv('X_LIMIT') ?: 10, getenv('X_PUBLIC_PATH') ?: __DIR__ . '/public/'))->run();
```

run
---

[](#run)

```
X_LISTEN=0.0.0.0:8080 php tts.php

```

api
---

[](#api)

### get /voices

[](#get-voices)

### post or get /tts

[](#post-or-get-tts)

{ "text": "hello world", "voice": "zh-CN-shaanxi-XiaoniNeural" }

### get /voices/{voice}

[](#get-voicesvoice)

docker
------

[](#docker)

```
docker build -t reactphp-x-tts .
docker run -it --rm -p 8012:8080 -e X_LISTEN=0.0.0.0:8080 -e X_LIMIT=10 -e X_PUBLIC_PATH=/var/www/examples/public/ reactphp-x-tts php /var/www/examples/01.php
```

License
-------

[](#license)

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance42

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

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.

###  Release Activity

Cadence

Every ~162 days

Total

2

Last Release

484d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/76907477?v=4)[wpjscc](/maintainers/wpjscc)[@wpjscc](https://github.com/wpjscc)

---

Top Contributors

[![wpjscc](https://avatars.githubusercontent.com/u/76907477?v=4)](https://github.com/wpjscc "wpjscc (10 commits)")

### Embed Badge

![Health badge](/badges/reactphp-x-tts/health.svg)

```
[![Health](https://phpackages.com/badges/reactphp-x-tts/health.svg)](https://phpackages.com/packages/reactphp-x-tts)
```

###  Alternatives

[asci/track

track is event based tracking system with multiple database backend support.

1024.6k](/packages/asci-track)

PHPackages © 2026

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