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

ActiveLibrary

innovination/elevenlabs
=======================

A simple package to convert text to audio using Elevenlabs API and store it in the storage.

1.0.2(1y ago)021MITPHPPHP &gt;=7.4

Since Aug 21Pushed 1y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (4)Used By (0)

Text-to-Audio Composer Package
==============================

[](#text-to-audio-composer-package)

This Composer package allows you to convert text into audio using the ElevenLabs API.

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

[](#installation)

To install this package, you can use Composer. Run the following command in your project directory:

```
composer require innovination/elevenlabs

```

Usage
-----

[](#usage)

To use this package, follow these steps:

1. Import the package into your PHP file:

```
use Innovination\Elevenlabs;
```

2. Create an instance of the `Elevenlabs` class:

```
$elevenlabs = new ElevenLabs();
```

3. Add ElevenLabs API key to your `.env` file

```
XI_API_KEY='your-api-key'
```

4. Convert text to audio:

```
//Required
$elevenlabs->voice_id = 'voice-id-on-elevenlabs';
$elevenlabs->text = "Hello, world!";
//Optional
$elevenlabs->file_prefix = "prefix"; // default is audio
$elevenlabs->path = "folder-name"; //default folder is audio
$audioFile = $elevenlabs->generateAudio();
```

The `generateAudio` method will return the path to the generated audio file along with `status` as `sucess` or `error`

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

630d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c4d43d95b518ef43587c7adcecf131feb9752a49edbbf665f40bdfaf6b6070a2?d=identicon)[innovination](/maintainers/innovination)

---

Top Contributors

[![viditgoyal3009](https://avatars.githubusercontent.com/u/13598996?v=4)](https://github.com/viditgoyal3009 "viditgoyal3009 (9 commits)")

### Embed Badge

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

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

PHPackages © 2026

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