PHPackages                             serch3/bunny-stream - 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. [Image &amp; Media](/categories/media)
4. /
5. serch3/bunny-stream

ActiveLibrary[Image &amp; Media](/categories/media)

serch3/bunny-stream
===================

A Lightweight PHP SDK for Bunny.net Streaming API

2.0(5mo ago)211MITPHPPHP ^8.2CI passing

Since Jan 30Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/serch3/bunny-stream-sdk-php)[ Packagist](https://packagist.org/packages/serch3/bunny-stream)[ Docs](https://bunny.net/stream/)[ RSS](/packages/serch3-bunny-stream/feed)WikiDiscussions main Synced 1mo ago

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

Bunny Stream PHP SDK
====================

[](#bunny-stream-php-sdk)

A modern, robust PHP library to interact with the [Bunny Stream API](https://docs.bunny.net/reference/api-overview).

[![Latest Stable Version](https://camo.githubusercontent.com/2afe3c347318aafe6deee33950553055e5765c342d8b79dee92a712a67489641/68747470733a2f2f706f7365722e707567782e6f72672f7365726368332f62756e6e792d73747265616d2f762f737461626c65)](https://packagist.org/packages/serch3/bunny-stream)[![License](https://camo.githubusercontent.com/006b2ee0f04c8c715842d98c5fdcde485930f294280eafd04a93e409eb46f195/68747470733a2f2f706f7365722e707567782e6f72672f7365726368332f62756e6e792d73747265616d2f6c6963656e7365)](https://packagist.org/packages/serch3/bunny-stream)

Requirements
------------

[](#requirements)

- PHP 8.2+
- Composer

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

[](#installation)

```
composer require serch3/bunny-stream
```

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

[](#quick-start)

Initialize the client with your API Key and Library ID:

```
use Bunny\Stream\Client;

$client = new Client('YOUR_API_KEY', 'YOUR_LIBRARY_ID');
```

### Basic Usage

[](#basic-usage)

**List Videos:**

```
$videos = $client->video()->list();
foreach ($videos['items'] as $video) {
    echo $video['title'] . "\n";
}
```

**Upload a Video (Resumable):**

```
// 1. Create a video entry
$video = $client->video()->create('My Awesome Video');

// 2. Upload using Tus
$uploader = $client->tus()->createUpload(
    $video['guid'],
    '/path/to/video.mp4'
);
$uploader->upload();
```

**Manage Collections:**

```
$client->collection()->create('New Collection');
```

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

[](#documentation)

For a complete list of available methods and parameters, please see the **[API Reference](REFERENCE.md)**.

Upgrading
---------

[](#upgrading)

Upgrading from v1? Check out the **[Upgrade Guide](UPGRADING.md)**.

License
-------

[](#license)

MIT

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance73

Regular maintenance activity

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

3

Last Release

154d ago

Major Versions

1.1 → 2.02025-12-15

PHP version history (2 changes)1.0PHP ^7.4||^8.0

2.0PHP ^8.2

### Community

Maintainers

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

---

Top Contributors

[![serch3](https://avatars.githubusercontent.com/u/37028220?v=4)](https://github.com/serch3 "serch3 (24 commits)")

---

Tags

streamingvideocdnbunnyCDNBunny.net

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/serch3-bunny-stream/health.svg)

```
[![Health](https://phpackages.com/badges/serch3-bunny-stream/health.svg)](https://phpackages.com/packages/serch3-bunny-stream)
```

###  Alternatives

[opentok/opentok

OpenTok is a platform for creating real time streaming video applications, created by TokBox.

1413.0M10](/packages/opentok-opentok)[happyworm/jplayer

jPlayer allows you to create a media player with a consistent interface and experience across all browsers.

4.6k114.2k1](/packages/happyworm-jplayer)[vimeo/vimeo-api

Official PHP library for the Vimeo API.

4637.1M32](/packages/vimeo-vimeo-api)[cloudinary/cloudinary_php

Cloudinary PHP SDK

39913.5M90](/packages/cloudinary-cloudinary-php)[bunnycdn/storage

PHP library to interact with the BunnyCDN Storage API.

8460.2k4](/packages/bunnycdn-storage)[daun/statamic-mux

Seamless video encoding and streaming using Mux on Statamic sites

132.3k](/packages/daun-statamic-mux)

PHPackages © 2026

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