PHPackages                             littlefish/uberduck - 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. [API Development](/categories/api)
4. /
5. littlefish/uberduck

ActiveLibrary[API Development](/categories/api)

littlefish/uberduck
===================

Uberduck's Rest API for PHP

0.0.9(2y ago)02.1k—8.3%MITPHP

Since Jan 31Pushed 2y ago1 watchersCompare

[ Source](https://github.com/berman82312/uberduck)[ Packagist](https://packagist.org/packages/littlefish/uberduck)[ Docs](https://github.com/berman82312/uberduck)[ RSS](/packages/littlefish-uberduck/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (9)Dependencies (9)Versions (10)Used By (0)

[![Latest Version](https://camo.githubusercontent.com/a5344e44152c451dc94a631315c86107ec769c3f8771037a2aac7e84626e87cf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6974746c65666973682f756265726475636b)](https://github.com/berman82312/uberduck)[![Total downloads](https://camo.githubusercontent.com/49d7a36d670c15c2dc2aa829a642b5491bf1c839221b1e19423e8a65f47315f0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6974746c65666973682f756265726475636b)](https://github.com/berman82312/uberduck)

uberduck
========

[](#uberduck)

Uberduck's Rest API for PHP. For the full document on Uberduck's API, please refer to the [official document](https://docs.uberduck.ai/reference).

Documentation
-------------

[](#documentation)

- [Installation](#installation)
- [Usage](#usage)
    - [List Voices](#list-voices)
    - [List Voice Samples](#list-voice-samples)
    - [List Backing Tracks](#list-backing-tracks)
    - [Generate Lyrics](#generate-lyrics)
    - [Generate Freestyle](#generate-freestyle)
    - [Prompt Builder](#prompt-builder)

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

[](#installation)

To begin, you'll need to add the component to your `composer.json`

```
composer require littlefish/uberduck
```

After adding the component, update your packages using `composer update` or install them using `composer install`.

### Environment variables

[](#environment-variables)

This library **requires** you to have following settings in your environment variables:

```
UBERDUCK_KEY=
UBERDUCK_SECRET=
UBERDUCK_HOST= # optional
```

### Laravel config (optional)

[](#laravel-config-optional)

You can use this package with your Laravel project directly after installed. If you need to modify the default config, you can add a `uberduck` config key:

```
'uberduck' => [
    'api_key' => 'your-uberduck-key',
    'api_secret' => 'your-uberduck-secret-key',
    'api_host' => 'uberduck-api-host'
]
```

Usage
-----

[](#usage)

The following API methods are mostly following the [official Uberduck document](https://docs.uberduck.ai/reference). You can find more detailed usage by reading the document. For the payloads(parameters), please find detailed description in the official document.

### List Voices

[](#list-voices)

Get information on available voices.

Example:

```
$response = uberduck->listVoices($payload);
```

### List Voice Samples

[](#list-voice-samples)

Return sample outputs from the specified VoiceModel.

Example:

```
$response = uberduck->listVoiceSamples($voiceModelUuid);
```

### List Backing Tracks

[](#list-backing-tracks)

List backing tracks.

Example:

```
$response = uberduck->listBackingTracks();
// or
$response = uberduck->listBackingTracks($payload);
```

### Generate Lyrics

[](#generate-lyrics)

Example:

```
$response = uberduck->generateLyrics($payload);
```

### Generate Freestyle

[](#generate-freestyle)

Example:

```
$response = uberduck->generateFreestyle($payload);
```

### Prompt Builder

[](#prompt-builder)

Custom prompt can be created through the `PROMPT BUILDER` tab in your Uberduck dashboard.

Example:

```
/*
  $payload should be the variables you want to POST to your prompt, not including the `variables` key.
  $payload = [
    'parameter' => 'value'
  ];

  The function will stringify your $payload with following php object structure in the POST body:
  ['variables' => $payload]
*/
$response = uberduck->customPrompt($key, $payload);
```

###  Health Score

23

—

LowBetter than 25% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

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 ~4 days

Total

9

Last Release

890d ago

### Community

Maintainers

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

---

Top Contributors

[![berman82312](https://avatars.githubusercontent.com/u/6673395?v=4)](https://github.com/berman82312 "berman82312 (26 commits)")

---

Tags

UberduckUberduck API

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/littlefish-uberduck/health.svg)

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

###  Alternatives

[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

36826.2k2](/packages/telnyx-telnyx-php)[openai-php/client

OpenAI PHP is a supercharged PHP API client that allows you to interact with the Open AI API

5.8k29.9M341](/packages/openai-php-client)[brd6/notion-sdk-php

Notion SDK for PHP

6124.4k](/packages/brd6-notion-sdk-php)[getbrevo/brevo-php

Official PHP SDK for the Brevo API.

1004.1M58](/packages/getbrevo-brevo-php)[n1ebieski/ksef-php-client

PHP API client that allows you to interact with the API Krajowego Systemu e-Faktur

9082.3k](/packages/n1ebieski-ksef-php-client)[trycourier/courier

Courier PHP SDK

16667.9k](/packages/trycourier-courier)

PHPackages © 2026

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