PHPackages                             buble/sdk - 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. buble/sdk

ActiveLibrary[API Development](/categories/api)

buble/sdk
=========

Official PHP SDK for the Buble public API.

v0.1.1(1mo ago)01MITPHPPHP ^8.2

Since May 26Pushed 1mo agoCompare

[ Source](https://github.com/bublehq/php-sdk)[ Packagist](https://packagist.org/packages/buble/sdk)[ Docs](https://buble.ai/)[ RSS](/packages/buble-sdk/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (3)Versions (3)Used By (0)

Buble SDK for PHP
=================

[](#buble-sdk-for-php)

Official PHP SDK for [Buble](https://buble.ai/), built for the [Buble public API](https://buble.ai/docs).

Use this SDK from server-side PHP applications to discover media models, upload source media, create asynchronous image and video generation tasks, run preconfigured Buble app workflows, and call chat models through OpenAI, Anthropic Messages, and Gemini-compatible API formats.

Keep API keys on the server. Do not expose `BUBLE_API_KEY` in browser, mobile, or other client-side code.

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

[](#installation)

After publication to Packagist:

```
composer require buble/sdk
```

The package requires PHP 8.2+, `ext-curl`, and `ext-json`.

Quick Start
-----------

[](#quick-start)

Set your API key:

```
export BUBLE_API_KEY="sk_..."
```

The generation examples below create real Buble generation tasks and may consume credits.

```
