jimchen / aliyun-php-sdk-vod
aliyun php sdk vod
Installs: 1 893
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: >=5.5
- alibabacloud/vod: ^1.8
Requires (Dev)
- laravel/framework: ^6.0
README
阿里云短视频SDK
Requirements
- PHP 5.5+
Installing
$ composer require "jimchen/aliyun-php-sdk-vod:^2.0"
Usage
use JimChen\AliyunVod\Client; $client = new Client( $accessKeyId, $accessKeySecret, $regionId, $clientName, $debug, $connectionTimeout, $timeout, $cert, $options ); $result = $client->getVideoInfo() ->withVideoId($videoId) ->request(); $result->isSuccess();
In Laravel
php artisan vendor:publish --provider='JimChen\AliyunVod\LaravelProvider'
$result = app('aliyun.vod')->getVideoInfo() ->withVideoId($videoId) ->request(); $result->isSuccess();
License
Apache License 2.0