Download the PHP package serch3/bunny-stream without Composer

On this page you can find all versions of the php package serch3/bunny-stream. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package bunny-stream

Bunny Stream PHP Library

A simple PHP library to interact with the Bunny Stream API.

Requires

In order to interact with the API you need the API Access Information (Stream->{Library}->API)

Installation

How to use:

Quick start

Create an instance of the \Bunny\Stream\Client with the authentication details:


Manage Videos:

Listing Videos:

Optional:


Get Video

$videoId ID of the video string


Update Video

$videoId Id of the video string

$body Updated video details array


Delete Video

$videoId Id of the video that will be permanently deleted string


Create Video Entry

$title Title of the video string

Optional:


Upload Video with Id

$videoId Id of the video entry string

$path Video file path string

Optional:


Upload Video

$title Title of the video string

$path Video file path string

Optional:


Set Thumbnail

$videoId Id of the video string

$url accessible thumbnail url string


Get Video Heatmap

$videoId Id of the video string


Get Video play data

$videoId Id of the video string

Optional:


Get Video Statistics

$videoId Id of the video string

Optional:

Re-encode Video

$videoId Id of the video string


Add output codec to video (Requires Premium Encoding Plan)

$videoId Id of the video string

$codec Output codec to be added int


Repackage Video

$videoId Id of the video string

$keepOriginalFiles Marks whether previous file versions should be kept in storage, allows for faster repackage later on. Default is true.


Fetch Video

$url The URL from which the video will be fetched from. string

Optional:


Add Caption

$videoId Id of the video string

$srclang Language shortcode for the caption. string

$path Caption file path (.vtt/.srt) string

Optional:


Delete Caption

$videoId Id of the video string

$srclang Language shortcode for the caption. string


Transcribe video

$videoId Id of the video string

$language Language code for the transcription string

$force Default is false bool


Request Video resolutions info

$videoId Id of the video string


Cleanup unconfigured resolutions

$videoId Id of the video string

$resolutions List of resolutions to be removed array

Optional:

Collections:

Listing Collections

Optional:


Get Collection

$collectionId Id of the collection string

Optional:


Create Collection

$name Name of the collection string


Update Collection

$collectionId Id of the collection string

$name Updated name of the collection string


Delete Collection

$collectionId Id of the collection to be deleted string


Returns

All methods return an associative array with the response from the API, or an exception if an error occurs. Check reference for specific responses.


All versions of bunny-stream with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4||^8.0
guzzlehttp/guzzle Version ^7.8
psr/http-message Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package serch3/bunny-stream contains the following files

Loading the files please wait ....