jimchen/tim-sdk

IM Sdk for Tencent Instant Messaging

Maintainers

👁 jimchen

Package info

github.com/JimChenWYU/TimSDK

pkg:composer/jimchen/tim-sdk

Statistics

Installs: 738

Dependents: 0

Suggesters: 0

Stars: 5

Open Issues: 1

2.0.0.beta.7 2021-09-14 06:11 UTC

Requires

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 669aed894c6b2f9c3a4fe6742bac01db5e065660

  • JimChen <imjimchen.woop@163.com>

README

👁 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