PHPackages                             jmalko/cf-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. jmalko/cf-stream

ActiveLibrary

jmalko/cf-stream
================

014PHP

Since Aug 30Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jmalko/cf-stream)[ Packagist](https://packagist.org/packages/jmalko/cf-stream)[ RSS](/packages/jmalko-cf-stream/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (1)Used By (0)

Cloudflare Stream
=================

[](#cloudflare-stream)

> Upload, embed, and manage Cloudflare Stream videos from your CP.

Demo and `.env` setup instructions here - be up and running in less than 60 seconds!

[Click to see short video on Loom](https://www.loom.com/share/30ee4efe1ab7436188411390c2fa3807?sid=9c3e3361-3519-48c9-9ec5-fd2a56cc19d6)

THIS IS A WORKING ADDON, BUT BIG CHANGES AUG/SEPT 2023 MAY BREAK WITH UPDATES
-----------------------------------------------------------------------------

[](#this-is-a-working-addon-but-big-changes-augsept-2023-may-break-with-updates)

Please try this out, but be watchful when you `composer update` till I say.

Drag-and-drop does not seem to work properly on my system, but "browse for files" does.

Features
--------

[](#features)

- Upload large video files directly to Cloudflare Stream over tus
- Resumable uploads pending testing\*
- Uploads from Google Drive, OneDrive, Dropbox pending testing\*
- Option to see all videos on account or only those uploaded by this site
- Edit and delete forthcoming
- Fieldset incoming

How to Install
--------------

[](#how-to-install)

You can search for this addon in the `Tools > Addons` section of the Statamic control panel and click **install**, or run the following command from your project root:

```
composer require jmalko/cf-stream
```

Set these in your `.env` file. The first two can be found on the Cloudflare Stream page, top right. The API key will require you to make one on your Account page and give it Read/Write access to Cloudflare Stream

```
CF_STREAM_ACCOUNT_ID=
CF_STREAM_SUBDOMAIN=
CF_STREAM_API_KEY=
CF_STREAM_CREATOR_ID=optional_name // this is so that you can silo multiple clients on one Cloudflare account - set this and they will only see their own uploads vs. all the uploads on the Cloudflare account
```

How to Use
----------

[](#how-to-use)

Once you install via composer and add the `.env` information, you will see a "Videos" item on your Control Panel nav. If you Press the "Upload videos" button, you will see a modal that will allow you to select videos to upload from your computer or phone. Hit upload, then refresh the page.

You should see your newly uploaded videos. Below the "Watch preview" button next to each video is the video ID. Copy this ID and paste it into this antlers tag anywhere you want to embed the video. Be sure you have Parse Antlers switched on in your blueprint for the field your are embedding in.

```
{{ cf_stream:embed id="the_id_you_copied" }}
```

Check your work and enjoy. More features coming very soon!

\-- Jonathan Malko

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity21

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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/jmalko-cf-stream/health.svg)

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

PHPackages © 2026

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