PHP code example of code-lives / shengwang
1. Go to this page and download the library: Download code-lives/shengwang library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
code-lives / shengwang example snippets
$data= \ShengWangSdk\ShengWang::init($config)->getToken('channelName:频道','account:账号字符串','role等级: 1-2数字','tokenExpire:3600','privilegeExpire:3600');