PHPackages                             dayrev/synthesizer - 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. dayrev/synthesizer

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

dayrev/synthesizer
==================

Text-to-Speech Synthesizer

v1.0.1(9y ago)230Apache-2.0PHPPHP ^7.0

Since Jun 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/dayrev/synthesizer)[ Packagist](https://packagist.org/packages/dayrev/synthesizer)[ Docs](https://github.com/dayrev/synthesizer)[ RSS](/packages/dayrev-synthesizer/feed)WikiDiscussions master Synced 4w ago

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

Synthesizer
===========

[](#synthesizer)

[![Build Status](https://camo.githubusercontent.com/a104d0c823f5d87e3eaa0f9bceef212267b38b6cc605bcd7042f7068b6ef4410/68747470733a2f2f7472617669732d63692e6f72672f6461797265762f73796e74686573697a65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/dayrev/synthesizer)[![Coverage Status](https://camo.githubusercontent.com/5fb19f2bcc0b59a08dde2009b94c5b44d57aa346412f61581f84ea2d9a82d803/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6461797265762f73796e74686573697a65722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/dayrev/synthesizer?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/9e4d252581385f45224e26d1f661f3442820ed4c8a87a5c79bb56fea577dbbbd/68747470733a2f2f706f7365722e707567782e6f72672f6461797265762f73796e74686573697a65722f762f737461626c652e706e67)](https://packagist.org/packages/dayrev/synthesizer)

Overview
--------

[](#overview)

Synthesizer provides an elegant interface to synthesize text to speech (audio url) using a variety of third-party providers.

**Supported Providers:**

- Amazon Polly
- Google
- IBM Watson
- iSpeech

Installation
------------

[](#installation)

Run the following [composer](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) command to add the package to your project:

```
composer require dayrev/synthesizer

```

Alternatively, add `"dayrev/synthesizer": "^1.0"` to your composer.json file.

Usage
-----

[](#usage)

```
$provider = Provider::instance('amazon', [
    'key' => 'YOUR_AMAZON_API_KEY',
    'secret' => 'YOUR_AMAZON_API_SECRET',
]);
$content = $synthesizer->synthesize($text);

$synthesizer = DayRev\Synthesizer\Provider::instance('google');
$content = $synthesizer->synthesize($text);

$synthesizer = DayRev\Synthesizer\Provider::instance('ibm', [
    'username' => 'YOUR_IBM_USERNAME',
    'password' => 'YOUR_IBM_PASSWORD',
]);
$content = $synthesizer->synthesize($text);

$synthesizer = DayRev\Synthesizer\Provider::instance('ispeech', [
    'apikey' => 'YOUR_ISPEECH_API_KEY'
]);
$content = $synthesizer->synthesize($text);
```

Tests
-----

[](#tests)

To run the test suite, run the following commands from the root directory:

```
composer install
vendor/bin/phpunit -d ibm_username=YOUR_IBM_USERNAME -d ibm_password=YOUR_IBM_PASSWORD -d ispeech_api_key=YOUR_ISPEECH_API_KEY -d amazon_api_key=YOUR_AMAZON_API_KEY -d amazon_api_secret=YOUR_AMAZON_API_SECRET

```

> **Note:** API credentials are required when running the integration tests but the values don't have to be valid.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

2

Last Release

3287d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45855ca47dca22521841f5356ed50f8d9e2158ceb89d7e85fba660f55fb99525?d=identicon)[dsposito](/maintainers/dsposito)

---

Top Contributors

[![dsposito](https://avatars.githubusercontent.com/u/1553251?v=4)](https://github.com/dsposito "dsposito (20 commits)")

---

Tags

googleispeechphppollysynthesizertext-to-speechttswatsonphpgooglesynthesizertext-to-speechibmttswatsonivonaispeech

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dayrev-synthesizer/health.svg)

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

###  Alternatives

[napp/xray-laravel

AWS X-Ray for Laravel applications.

61427.6k](/packages/napp-xray-laravel)[duncan3dc/speaker

Convert text to speech using web services

11439.2k1](/packages/duncan3dc-speaker)[b7s/fluentvox

Fluent PHP wrapper for Chatterbox TTS - State-of-the-art text-to-speech with voice cloning

881.1k](/packages/b7s-fluentvox)[werd/ivona-speechcloud-sdk-php

IVONA SpeechCloud SDK for PHP

102.1k](/packages/werd-ivona-speechcloud-sdk-php)[tomatophp/filament-seo

Manage and generate SEO tags and integrate your website with Google SEO services

143.4k1](/packages/tomatophp-filament-seo)

PHPackages © 2026

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