PHPackages                             papi-ai/elevenlabs - 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. papi-ai/elevenlabs

ActiveLibrary

papi-ai/elevenlabs
==================

ElevenLabs text-to-speech provider for PapiAI

v0.9.1(2mo ago)00MITPHPPHP ^8.2CI passing

Since Mar 7Pushed 1mo agoCompare

[ Source](https://github.com/papi-ai/elevenlabs)[ Packagist](https://packagist.org/packages/papi-ai/elevenlabs)[ RSS](/packages/papi-ai-elevenlabs/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (5)Used By (0)

PapiAI ElevenLabs Provider
==========================

[](#papiai-elevenlabs-provider)

[![CI](https://github.com/papi-ai/elevenlabs/workflows/CI/badge.svg)](https://github.com/papi-ai/elevenlabs/actions?query=workflow%3ACI) [![Latest Version](https://camo.githubusercontent.com/650dae4895a9f0249cd9fca4811bd2626221856e651c0b7e6c928591765c7c7b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706170692d61692f656c6576656e6c6162732e737667)](https://packagist.org/packages/papi-ai/elevenlabs) [![Total Downloads](https://camo.githubusercontent.com/bf3d0eef73764663d8808a7066830f2515ab9123dbec1108616107f698b9423c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f706170692d61692f656c6576656e6c6162732e737667)](https://packagist.org/packages/papi-ai/elevenlabs) [![PHP Version](https://camo.githubusercontent.com/c045540f29c494d5203e87dca8378c1f489f9f3af110c6d9598e750432357633/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f706170692d61692f656c6576656e6c6162732e737667)](https://packagist.org/packages/papi-ai/elevenlabs) [![License](https://camo.githubusercontent.com/e71d4ba7f209f9a55d421bf3ede0aeb6a9a55a9062ccd452b86e2e290be658ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f706170692d61692f656c6576656e6c6162732e737667)](https://packagist.org/packages/papi-ai/elevenlabs)

ElevenLabs text-to-speech provider for [PapiAI](https://github.com/papi-ai/papi-core) - A simple but powerful PHP library for building AI agents.

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

[](#installation)

```
composer require papi-ai/elevenlabs
```

Usage
-----

[](#usage)

```
use PapiAI\ElevenLabs\ElevenLabsProvider;

$provider = new ElevenLabsProvider(
    apiKey: $_ENV['ELEVENLABS_API_KEY'],
);

$audio = $provider->synthesize('Hello world!');
$audio->save('output.mp3');
```

Available Voices
----------------

[](#available-voices)

Rachel (default), Domi, Bella, Antoni, Elli, Josh, Arnold, Adam, Sam

Custom voice IDs can be passed via options:

```
$audio = $provider->synthesize('Hello!', [
    'voice' => 'Josh',
    'model' => 'eleven_multilingual_v2',
]);
```

Features
--------

[](#features)

- High-quality text-to-speech via ElevenLabs API
- Multiple built-in voices with name-to-ID mapping
- Custom voice ID support
- Multilingual model support

License
-------

[](#license)

MIT

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance88

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

4

Last Release

62d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/126c34b4dff8d42336ea07ac5297bcc3ec0a0e306fd964a7497f02240da4b142?d=identicon)[md](/maintainers/md)

---

Top Contributors

[![MarcelloDuarte](https://avatars.githubusercontent.com/u/144535?v=4)](https://github.com/MarcelloDuarte "MarcelloDuarte (8 commits)")

###  Code Quality

TestsPest

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/papi-ai-elevenlabs/health.svg)

```
[![Health](https://phpackages.com/badges/papi-ai-elevenlabs/health.svg)](https://phpackages.com/packages/papi-ai-elevenlabs)
```

PHPackages © 2026

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