Download the PHP package libcast/assetdistribution without Composer
On this page you can find all versions of the php package libcast/assetdistribution. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download libcast/assetdistribution
More information about libcast/assetdistribution
Files in libcast/assetdistribution
Package assetdistribution
Short Description PHP component that can publish digital assets (video, audio...) across multiple services. Currently supports YouTube, Vimeo and Dailymotion.
License MIT
Homepage http://libcast.com
Informations about the package assetdistribution
AssetDistributor
AssetDistributor is a PHP component that can publish digital assets (video, audio...) across multiple services.
Currently, AssetDistributor can publish videos across YouTube, Vimeo and DailyMotion. Feel free to help and integrate new Adapters for new services.
Vocabulary
-
Asset
— describes a digital media of one of the following type :audio
,document
,image
orvideo
. -
Adapter
— implements aservice
toupload
,update
ordelete
Asset
objetcs from. -
AdapterCollection
— contains multipleAdapter
objects and is traversable Owner
— handles anAdapterCollection
and the correspondingservices
account credentials.
Installation
The component may be added through composer :
composer require libcast/assetdistributor
Configuration
All your application oAuth credentials or any other configuration must be stored in a PHP configuration file.
You may have a look on example/configuration.ini
as an example.
Usage
First create an Owner
called "me" to bear accounts credentials and an AdapterCollection
Then create an Asset
from an existing file
You may create an AdapterCollection
manually:
You also can retrieve the AdapterCollection
from the cache:
Or you can create an AdapterCollection
based on the Asset
:
Once created, the AdapterCollection
must be affiliated to the Owner
At this point, you may manipulate your Asset
across all services like this:
All versions of assetdistribution with dependencies
doctrine/cache Version ~1.0
league/flysystem Version ~1.0
dailymotion/sdk Version ~1.6
google/apiclient Version v2.0.0-RC5
vimeo/vimeo-api Version ~1.2
psr/log Version ~1.0