PHPackages                             newage/audio-manager - 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. newage/audio-manager

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

newage/audio-manager
====================

Audio Manager for text-to-speech cloud services

1.2.3(2y ago)44.1k1[1 issues](https://github.com/newage/AudioManager/issues)1MITPHPPHP &gt;=5.6 | &gt;= 7.0

Since Sep 22Pushed 2y ago4 watchersCompare

[ Source](https://github.com/newage/AudioManager)[ Packagist](https://packagist.org/packages/newage/audio-manager)[ Docs](https://github.com/newage/AudioManager)[ RSS](/packages/newage-audio-manager/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (13)Used By (1)

AudioManager
============

[](#audiomanager)

[![Latest Version on Packagist](https://camo.githubusercontent.com/60882d8eb2522e9334d1c81c5ddac1632deb588886a8f4398bbb2f81bc0491af/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e65776167652f617564696f2d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/newage/audio-manager)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/c54a3cdc8db39423d3be1aed2fe45ce89b9cb151b1f17c0ff3f1b2fe755ae59a/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e65776167652f417564696f4d616e616765722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/newage/AudioManager)[![Coverage Status](https://camo.githubusercontent.com/7c0a76d5e0509c6500ab599e7b136f468142f0e6fe5647cf6a167f4e94199918/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6e65776167652f417564696f4d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/newage/AudioManager/code-structure)[![Quality Score](https://camo.githubusercontent.com/799880670a465c152b6a10a0cbe945e3772ae23385ca22355454f534a8b5f327/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e65776167652f417564696f4d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/newage/AudioManager)[![Total Downloads](https://camo.githubusercontent.com/1621a8129faea02b06d28afdefb0cc9daaa2bc1cc620b9f6d7507a172d88d237/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e65776167652f617564696f2d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/newage/audio-manager)

A manager for a popular text-to-speech cloud services ([Google](https://translate.google.com/), [Ivona](https://www.ivona.com/), [Amazon Polly](https://aws.amazon.com/polly/)...) on PHP. This project uses [PSR-4](http://www.php-fig.org/psr/psr-4/) autoloading standard, [PSR-2](http://www.php-fig.org/psr/psr-2/) coding style

Install
-------

[](#install)

Via Composer

```
$ composer require newage/audio-manager
```

Usage
-----

[](#usage)

Setup an `Google` adapter

```
$adapter = new \AudioManager\Adapter\Google();
$adapter->getOptions()->setLanguage('en');
$adapter->getOptions()->setEncoding('UTF-8');

```

Setup an `Ivona` adapter

```
$adapter = new \AudioManager\Adapter\Ivona();
$adapter->getOptions()->setAccessKey('...');
$adapter->getOptions()->setSecretKey('...');
$adapter->getOptions()->setLanguage('...'); //Default 'en-US'
$adapter->getOptions()->setVoice('...'); //Default 'Salli'
$adapter->getOptions()->setOutputFormatCodec('...'); //Default 'MP3'
$adapter->getOptions()->setOutputSampleRate('...'); //Default '22050'
$adapter->getOptions()->setParametersRate('...'); //Default 'slow'

```

Setup an `Amazon Polly` adapter

```
$adapter = new \AudioManager\Adapter\Polly();
$adapter->getOptions()->initialize()
    ->setVersion('latest')
    ->setRegion('us-west-2')
    ->setCredentials()
        ->setKey('...')
        ->setSecret('...');

$adapter->getOptions()->setOutputFormat('...'); //Default 'mp3'
$adapter->getOptions()->setLexiconNames('...');
$adapter->getOptions()->setSampleRate('...'); //Default '16000'
$adapter->getOptions()->setTextType('...'); //Default 'text'
$adapter->getOptions()->setVoiceId('...'); //Default 'Salli'

```

Setup an adapter to manager

```
$manager = new \AudioManager\Manager($adapter);
$audioContent = $manager->read('text');
$manager->getHeaders();

```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CONDUCT](CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Vadim Leontiev](https://github.com/newage)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 96.5% 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 ~257 days

Recently: every ~593 days

Total

12

Last Release

1058d ago

Major Versions

0.0.2 → 1.0.02016-03-29

PHP version history (2 changes)0.0.1PHP &gt;=5.5

1.2.0PHP &gt;=5.6 | &gt;= 7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3cdb20f2b32d73e11bc1d18ea00cedf6007b9d731e7f6547735bcde03718fa48?d=identicon)[newage](/maintainers/newage)

---

Top Contributors

[![newage](https://avatars.githubusercontent.com/u/426997?v=4)](https://github.com/newage "newage (55 commits)")[![KIVagant](https://avatars.githubusercontent.com/u/517501?v=4)](https://github.com/KIVagant "KIVagant (1 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

speechtts

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/newage-audio-manager/health.svg)

```
[![Health](https://phpackages.com/badges/newage-audio-manager/health.svg)](https://phpackages.com/packages/newage-audio-manager)
```

###  Alternatives

[aws/aws-sdk-php-symfony

A Symfony bundle for v3 of the AWS SDK for PHP

36517.7M22](/packages/aws-aws-sdk-php-symfony)[duncan3dc/speaker

Convert text to speech using web services

11539.1k1](/packages/duncan3dc-speaker)[napp/xray-laravel

AWS X-Ray for Laravel applications.

61407.3k](/packages/napp-xray-laravel)[helgesverre/extractor

AI-Powered Data Extraction for your Laravel application.

22128.0k](/packages/helgesverre-extractor)[werd/ivona-speechcloud-sdk-php

IVONA SpeechCloud SDK for PHP

102.1k](/packages/werd-ivona-speechcloud-sdk-php)

PHPackages © 2026

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