1. Go to this page and download the library: Download pbmengine/pbm-video-sdk library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
pbmengine / pbm-video-sdk example snippets
$project = video()->createProject(<project name>, <identifier optional>, <description optional);
// your project id
$project->data()->id
// your project access key
$project->data()->access_key
// your project secret key
$project->data()->secret_key
// store these values in config/pbm-video.php
// the data to create a template must contain
// please see api documentation for more properties
// movie name and movie project id must be known from isw
$data = [
'name' => 'super duper video',
'movie_name' => 'the well known movie name',
'movie_project_id' => 'the well known movie project id',
'protection' => true|false // if protected the video is not publicly accessible
];
$template = video()->createTemplate(<your project id>, array $data);