【文件属性】:
文件名称:TimSDK:腾讯云IM非官方SDK
文件大小:183KB
文件格式:ZIP
更新时间:2021-05-11 06:13:00
php sdk php-library tencent-cloud im-sdk
TimSDK
腾讯即时消息的IM Sdk。
要求
PHP> = 5.5.9
OpenSSL扩展
安装
$ composer require jimchen/tim-sdk -vvv
用法
基本用法:
use TimSDK ;
use TimSDK \ Core \ API ;
$ options = [
'app_id' => '14000xxxx' ,
'identifier' => 'admin' ,
'private_key' => 'Your private key' ,
'public_key' => 'Your public key' ,
'http' => [
'timeout' => 5 ,
'base_uri' => 'Your base url' ,
],
];
$ app = new TimCloud (
【文件预览】:
TimSDK-master
----.gitignore(190B)
----README.md(5KB)
----.phplint.yml(37B)
----tests()
--------Support()
--------TimCloudTest.php(8KB)
--------Foundation()
--------Container()
--------HelpersTest.php(621B)
--------TestCase.php(204B)
--------bootstrap.php(405B)
----docs()
--------README.md(194B)
--------config.md(955B)
--------tim-cloud.md(2KB)
----LICENSE(1KB)
----composer.json(1KB)
----phpunit.xml.dist(1KB)
----package.json(790B)
----.scrutinizer.yml(944B)
----src()
--------Support()
--------TimCloud.php(9KB)
--------helpers_include.php(146B)
--------helpers.php(887B)
--------Core()
--------Foundation()
--------Container()
--------Cert()
----build()
--------README.md(120B)
--------generate-doc(2KB)
----.travis.yml(406B)