Download the PHP package samandar/laravel-elevenlabs without Composer

On this page you can find all versions of the php package samandar/laravel-elevenlabs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-elevenlabs

ElevenLabs Laravel Package

Tests Latest Version Total Downloads License PHP Version Laravel Version

A comprehensive Laravel package for integrating with ElevenLabs Text-to-Speech API
Featuring modular architecture, backward compatibility, and professional-grade functionality.


๐Ÿ“Š Package Statistics

Features

๐ŸŽฏ Core Features

๐ŸŽญ Voice Management

๐Ÿš€ Advanced Features

๐ŸŽฌ Studio & Projects

๐Ÿค– Conversational AI

๐Ÿ“Š Analytics & Management

๐Ÿ”ง Laravel Integration

Installation

You can install the package via composer:

Configuration

  1. Publish the configuration file:

  2. Add your ElevenLabs API key to your .env file:

  3. Optionally configure other settings:

Usage

The package provides two approaches for accessing ElevenLabs functionality:

  1. New Modular Approach (Recommended) - Organized by feature groups
  2. Legacy Approach - Backward compatible with previous versions

๐Ÿš€ New Modular Approach

Audio Service (TTS, STT, STS, etc.)

Voice Service (Voice Management)

AI Service (Conversational AI & Knowledge Base)

Studio Service (Projects & Dubbing)

Analytics Service (Usage & History)

Workspace Service (Collaboration)

๐Ÿ”„ Legacy Approach (Backward Compatible)

All existing code continues to work unchanged:

Using Dependency Injection

Controller Example

Available Methods

Text-to-Speech Methods

Speech-to-Text Methods

Voice Management Methods

History Methods

Dubbing Methods

Speech-to-Speech Methods

Pronunciation Dictionary Methods

Conversational AI Methods

Knowledge Base Methods

Studio Projects Methods

Forced Alignment Methods

Voice Library Methods

Workspace Methods

Utility Methods

Response Format

All methods return an array with the following structure:

Success Response:

Error Response:

Voice Settings

You can customize voice settings for more control over the generated speech:

Popular Voice IDs

Here are some popular voice IDs you can use:

Use ElevenLabs::getVoices() to get the complete list of available voices.

Configuration Options

The configuration file config/elevenlabs.php contains the following options:

Testing

Unit & Integration Tests

Run the test suite:

Or with PHPUnit directly:

Real API Tests

To run tests against the actual ElevenLabs API (requires API key):

Features:

See REAL_API_TEST_GUIDE.md for complete documentation.

Testing

To run the tests:

Or run PHPUnit directly:

Error Handling

The package includes comprehensive error handling. All methods return success/error status:

Requirements

License

This package is open-sourced software licensed under the MIT license.

Contributing

Please see CONTRIBUTING for details.

Support & Contributing

If you find this package helpful and would like to support its development, consider buying me a coffee! โ˜•

Buy Me A Coffee

๐Ÿค How to Contribute

We welcome contributions! Here's how you can help:

๐Ÿ›ก๏ธ Security

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

๐Ÿ“‹ Support Channels

Credits

Changelog

Please see CHANGELOG for more information on what has changed recently.


๐ŸŽ‰ Thank you for using ElevenLabs Laravel Package! ๐ŸŽ‰

If this package has been helpful, please consider:

โญ Starring the repository
๐Ÿฆ Sharing with your network
โ˜• Supporting the development
๐Ÿค Contributing to the project

Made with โค๏ธ by Abdullaev Samandar


All versions of laravel-elevenlabs with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
illuminate/support Version ^9.0|^10.0|^11.0
guzzlehttp/guzzle Version ^7.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package samandar/laravel-elevenlabs contains the following files

Loading the files please wait ...