harris / tim-sdk
IM Sdk for Tencent Instant Messaging
2.0.0.beta.7
2021-09-14 06:11 UTC
Requires
- php: >=7.2
- ext-curl: *
- ext-json: *
- guzzlehttp/guzzle: ^6.5 || ^7.0
- guzzlehttp/psr7: ^1.6 || ^2.0
- monolog/monolog: ^1.0 || ^2.0
- pimple/pimple: ^1.0 || ^2.0 || ^3.0
- psr/http-client: ^1.0
- psr/simple-cache: ^1.0
- symfony/cache: ^3.0 || ^4.0 || ^5.0
- symfony/event-dispatcher: ^4.0 || ^5.0
- symfony/http-foundation: ^3.0 || ^4.0 || ^5.0
Requires (Dev)
- laravel/framework: ^6.0 || ^7.0 || ^8.0 || ^9.0
- mockery/mockery: ^1.0
- phpunit/phpunit: ^8.0
This package is not auto-updated.
Last update: 2024-11-14 20:56:30 UTC
README
IM Sdk for Tencent Instant Messaging.
Requirement
- PHP >= 7.2
- Composer
- 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');