jimchen/aliyun-php-sdk-vod

aliyun php sdk vod

Installs: 1 903

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/jimchen/aliyun-php-sdk-vod

2.0.1 2021-04-26 06:33 UTC

This package is auto-updated.

Last update: 2025-09-26 15:57:36 UTC


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