szhorvath / cloudflare-stream-php-sdk
A PHP SDK for integrating Cloudflare Streaming services.
Fund package maintenance!
szhorvath
Requires
- php: ^8.1 || ^8.2 || ^8.3
- ext-fileinfo: *
- ext-json: *
- illuminate/collections: ^10.0 || ^11.0
- league/object-mapper: dev-main
- php-http/cache-plugin: ^2.0
- php-http/client-common: ^2.7
- php-http/discovery: ^1.19
- php-http/httplug: ^2.4
- psr/http-client-implementation: ^1.0
- psr/http-factory: ^1.1
- psr/http-factory-implementation: ^1.0
- psr/http-message: ^2.0
Requires (Dev)
- laravel/pint: ^1.17.3
- nyholm/psr7: ^1.8.2
- pestphp/pest: ^2.0 || ^3.0
- pestphp/pest-plugin-type-coverage: ^2.0 || ^3.0
- php-http/message: ^1.16
- php-http/mock-client: ^1.6
- phpstan/phpstan: ^1.12.3
- spatie/ray: ^1.41
- symfony/http-client: ^6.4 || ^7.1
This package is auto-updated.
Last update: 2024-10-18 10:09:41 UTC
README
A PHP SDK for integrating and managing Cloudflare's Streaming services.
Table of Contents
Introduction
This SDK provides a simple and efficient way to interact with Cloudflare's Streaming API using PHP. It enables developers to easily integrate Cloudflare's video streaming capabilities into their PHP applications.
Features
- Upload videos to Cloudflare Stream
- Retrieve video details
- List all videos
- Delete videos
- Generate signed URLs for video playback
Installation
You can install the SDK via Composer. Run the following command in your project directory:
composer require szhorvath/cloudflare-stream-php-sdk
Usage
$skeleton = new Szhorvath\StreamSdk(); echo $skeleton->echoPhrase('Hello, Szhorvath!');
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.