The VOD SDK for PHP is an SDK for PHP encapsulated based on the upload features of VOD. It provides a rich set of upload capabilities to meet your diversified upload needs. In addition, it encapsulates the APIs of VOD, making it easy for you to integrate the upload capabilities without the need to care about underlying details.
- General file upload
- HLS file upload
- Upload with cover
- Upload to subapplication
- Upload with task flow
- Upload to specified region
- Upload with temporary key
- Upload with proxy
We recommend you use Composer to install the SDK:
{
"require": {
"qcloud/vod-sdk-v5": "v2.4.4"
}
}
If Composer is not used in your project, go to the GitHub code hosting page to download the source code package and decompress it into the project.
The SDK provides a wealth of test cases. You can refer to their call methods. For more information, please see Test Cases. You can view the execution of test cases by running the following command:
# for windows
.\vendor\bin\phpunit.bat test\VodUploadClientTest.php
# for linux
./vendor/bin/phpunit test/VodUploadClientTest.php
The changes of each version are recorded in the release notes. For more information, please see Release Notes.
We appreciate the great support of the following developers to the project, and you are welcome to join us.