PHPackages                             jorisnoo/craft-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. jorisnoo/craft-bunny-stream

ActiveCraft-plugin[Image &amp; Media](/categories/media)

jorisnoo/craft-bunny-stream
===========================

Bunny Stream integration for Craft CMS.

1.0.2(1mo ago)0206↓50%MITPHPPHP ^8.2CI passing

Since Oct 15Pushed 1mo agoCompare

[ Source](https://github.com/jorisnoo/craft-bunny-stream)[ Packagist](https://packagist.org/packages/jorisnoo/craft-bunny-stream)[ RSS](/packages/jorisnoo-craft-bunny-stream/feed)WikiDiscussions main Synced 4w ago

READMEChangelog (3)Dependencies (6)Versions (6)Used By (0)

Bunny Stream
============

[](#bunny-stream)

A [Craft CMS](https://craftcms.com) plugin that integrates [Bunny Stream](https://bunny.net/stream/) with native video assets. When a video asset is uploaded, the plugin creates a matching Bunny Stream video, syncs metadata back to the asset, and exposes playback URLs and embed helpers in templates. Inspired by [MuxMate](https://github.com/vaersaagod/muxmate).

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

[](#requirements)

- Craft CMS 5.0 or later
- PHP 8.2 or later
- A [Bunny Stream](https://bunny.net/stream/) library

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

[](#installation)

```
composer require jorisnoo/craft-bunny-stream
php craft plugin/install bunny-stream
```

Configuration
-------------

[](#configuration)

Settings are loaded from environment variables, or you can override them with a `config/bunny-stream.php` file.

### Environment variables

[](#environment-variables)

```
BUNNY_STREAM_ACCESS_KEY=
BUNNY_STREAM_LIBRARY_ID=
BUNNY_STREAM_CDN_HOSTNAME=
BUNNY_STREAM_COLLECTION_ID=
```

`BUNNY_STREAM_COLLECTION_ID` is optional. If set, new videos are created inside that collection.

### Config file

[](#config-file)

```
