JimChenWYU / TimSDK

:rainbow:TencentCloud IM unofficial SDK.

Home Page:https://github.com/JimChenWYU/TimSDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TimSDK

Build Status Latest Stable Version Latest Unstable Version Build Status Scrutinizer Code Quality Code Coverage Total Downloads License

IM Sdk for Tencent Instant Messaging.

Requirement

  1. PHP >= 7.2
  2. Composer
  3. Openssl Extension, Curl Extension

Installation

$ composer require "jimchen/tim-sdk:^2.0"

Usage

Basic Usage:

use TimSDK;

$options = [
  'app_id'      => '14000xxxx',
  'identifier'  => 'admin',
  'key' => 'Your key',
  'http'        => [
	'timeout'  => 30,
  ],
];
$app = new TimSDK\Application($options);
$collect = $app->account->import('identifier', 'nickname', 'faceUrl');

Documentation

License

MIT

About

:rainbow:TencentCloud IM unofficial SDK.

https://github.com/JimChenWYU/TimSDK

License:MIT License


Languages

Language:PHP 100.0%