laravel-dev-common / union-sdk-rongyun
Laravel dev im sdk util
Installs: 23
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:util
Requires
- php: >=5.5.9
- laravel-dev-common/union-config: *
This package is not auto-updated.
Last update: 2024-11-09 20:50:57 UTC
README
#union-sdk-rongyun
调用示例:
use Union\Sdk\Rongyun\RongyunEntrance;
$RongCloud = RongyunEntrance::init();
echo ("\n***************** user **************\n");
// 获取 Token 方法
$result = $RongCloud->user()->getToken('userId1', 'username', 'http://www.rongcloud.cn/images/logo.png');
echo "getToken ";
print_r($result);
echo "\n";