jake / baijiayun
百家云直播
0.4.5
2019-12-13 07:53 UTC
Requires
- php: >=7.0
- ext-json: *
- guzzlehttp/guzzle: ^6.2
- symfony/http-foundation: ^4.3.4
Requires (Dev)
- phpunit/phpunit: ^7.5
README
公司已经需要在多个项目中使用百家云了,故整理一套sdk。
Requirement
- PHP >= 7.0
- Composer
- guzzlehttp 扩展
Installation
$ composer require "jake/baijiayun" -vvv
Usage
基本使用
$bjcloud = new \Jake\Baijiayun\BJCloud([ 'partnerId' => '####', 'partnerKey' => '####' ]); $res = $bjcloud->roomCreate('live', time() + 60 * 60, time() + 60 * 60 * 2); print_r($res);
更多文档参考 百家云直播文档
License
MIT