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.
- Host: GitHub
- URL: https://github.com/jimchenwyu/timsdk
- Owner: JimChenWYU
- License: mit
- Created: 2018-06-17T01:27:29.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-14T06:11:44.000Z (over 4 years ago)
- Last Synced: 2025-04-13T08:05:26.104Z (about 1 year ago)
- Topics: im-sdk, php, php-library, sdk, tencent-cloud
- Language: PHP
- Homepage: https://github.com/JimChenWYU/TimSDK
- Size: 439 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
TimSDK
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/)