An open API service indexing awesome lists of open source software.

https://github.com/jimchenwyu/timsdk

:rainbow:TencentCloud IM unofficial SDK.
https://github.com/jimchenwyu/timsdk

im-sdk php php-library sdk tencent-cloud

Last synced: about 1 year ago
JSON representation

:rainbow:TencentCloud IM unofficial SDK.

Awesome Lists containing this project

README

          

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](https://getcomposer.org/)**
3. Openssl Extension, Curl Extension

## Installation

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

## Usage
Basic Usage:

```php
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

- [Tencent Tim](https://cloud.tencent.com/document/product/269/1519)

## License

[MIT](https://opensource.org/licenses/MIT/)