PHPackages                             dodgyprincess/php-cfstream - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. dodgyprincess/php-cfstream

ActiveLibrary[File &amp; Storage](/categories/file-storage)

dodgyprincess/php-cfstream
==========================

Upload and manage Cloudflare Stream easily

1.2(5y ago)08MITPHPPHP &gt;=5.5

Since Aug 19Pushed 5y agoCompare

[ Source](https://github.com/dodgyprincess/php-cfstream)[ Packagist](https://packagist.org/packages/dodgyprincess/php-cfstream)[ Docs](https://github.com/dodgyprincess/php-cfstream)[ RSS](/packages/dodgyprincess-php-cfstream/feed)WikiDiscussions master Synced 3w ago

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

PHP - Cloudflare Stream
=======================

[](#php---cloudflare-stream)

PHP CFStream is a PHP TUS client that makes it easy to send video files to Cloudflare Stream.

- Simple interface that supports:
    - Upload videos
    - Get status of uploaded videos
    - Get embed code for videos
    - Set allowedOrigins for each video
    - Delete videos
- Implemented in pure PHP and CURL with the help of GuzzleHttp Client
- Tightly integrated with Cloudflare Stream
- Does not support:
    - Resume uploads

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

[](#installation)

Install the package via Composer as usual. Use the `dev-master` branch.

```
composer require dodgyprincess/php-cfstream dev-master

```

Usage
-----

[](#usage)

#### Generic PHP Projects

[](#generic-php-projects)

If you are on composer-enabled projects, the following instructions should work for you. Otherwise try requiring `src/CFStream.php` directly in your project instead.

```
use dodgyprincess\CFStream\CFStream;

$cfstream = new CFStream($key, $zone, $email);

$resourceUrl = $cfstream->upload($filepath);
$cfstream->status($resourceUrl);
$cfstream->code($resourceUrl);
$cfstream->allow($resourceUrl, 'example.com, *.example.net');
$cfstream->delete($resourceUrl);

```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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 ~0 days

Total

4

Last Release

2143d ago

Major Versions

0.1 → 1.02020-08-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7274387?v=4)[dodgyprincess](/maintainers/dodgyprincess)[@dodgyprincess](https://github.com/dodgyprincess)

---

Top Contributors

[![jianjye](https://avatars.githubusercontent.com/u/400056?v=4)](https://github.com/jianjye "jianjye (7 commits)")[![dodgyprincess](https://avatars.githubusercontent.com/u/7274387?v=4)](https://github.com/dodgyprincess "dodgyprincess (2 commits)")[![jjsee](https://avatars.githubusercontent.com/u/90805479?v=4)](https://github.com/jjsee "jjsee (1 commits)")

---

Tags

tuscloudflare streamcfstreamphp-cfstream

### Embed Badge

![Health badge](/badges/dodgyprincess-php-cfstream/health.svg)

```
[![Health](https://phpackages.com/badges/dodgyprincess-php-cfstream/health.svg)](https://phpackages.com/packages/dodgyprincess-php-cfstream)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)

PHPackages © 2026

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