PHPackages                             xutl/qcloud-tim - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. xutl/qcloud-tim

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

xutl/qcloud-tim
===============

Qcloud TIM php sdk

1.0.3(7y ago)22851[1 issues](https://github.com/xutl/qcloud-tim/issues)1MITPHP

Since Jul 20Pushed 7y agoCompare

[ Source](https://github.com/xutl/qcloud-tim)[ Packagist](https://packagist.org/packages/xutl/qcloud-tim)[ RSS](/packages/xutl-qcloud-tim/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (1)

qcloud-tim
==========

[](#qcloud-tim)

腾讯云 TIM 云通信SDK，支持 同步 异步模式。

[![Build Status](https://camo.githubusercontent.com/09213f039a436915eac6df8af6986adb438bb2a93a331cb8a0b4276ca634295b/68747470733a2f2f7472617669732d63692e6f72672f7875746c2f71636c6f75642d74696d2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/xutl/qcloud-tim)[![License](https://camo.githubusercontent.com/bd4769d6480c344d158b59e9bf1ae6695882567099d6543c520c02b4f67eeb7c/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f71636c6f75642d74696d2f6c6963656e73652e737667)](https://packagist.org/packages/xutl/qcloud-tim)[![Latest Stable Version](https://camo.githubusercontent.com/e9bbe73991a5d9d4457b125f789d665ae6a001637c8969e4a9706b3111065213/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f71636c6f75642d74696d2f762f737461626c652e706e67)](https://packagist.org/packages/xutl/qcloud-tim)[![Total Downloads](https://camo.githubusercontent.com/d81ff072dac6afab1a4e1d82dac284d34abbe843c6af759e94e745f3bfb54f1e/68747470733a2f2f706f7365722e707567782e6f72672f7875746c2f71636c6f75642d74696d2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/xutl/qcloud-tim)

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist xutl/qcloud-tim

```

or add

```
"xutl/qcloud-tim": "~1.0"

```

to the require section of your `composer.json` file.

Use
---

[](#use)

```
use XuTL\QCloud\Tim\Tim;
use XuTL\QCloud\Tim\Constants;

$client = new Tim(
    '1234557',
    '12341234',
    '13241234/j8/341234+HOcet3Of1cTErNDm9XubwIeAyO0YE1bQFWNn+Iyc4',
    'MFYwEAYHKoZIzj0CAQYF134K4EEAAoDQgAEmV31rGrO12341234TRcQJLu+8w689UYMxsZE06WUKwEQCCwCBh6PhznHrdzn9XExKzQ5vV7m8CHgMjtGBNW0BVjZ/iMnOA==',
    'webmaster'
);

//操作用户

$account = $client->getAccount('test112');
//获取用户资料
$profile = $account->getProfile();
//T下线
$account->kick();

//查询在线状态
$account->state();

//更多接口请看
XuTL\QCloud\Tim\Account 类

//群组操作

$group = $client->getGroup('test');

//修改圈子属性
$groupAttributes = new GroupAttributes();
$groupAttributes->setName('方圆百里找对手');
$groupAttributes->setApplyJoinOption(Constants::GROUP_APPLY_JOIN_OPTION_FREE_ACCESS);
try {
    $res = $group->setInfo($groupAttributes);
    print_r($res);
} catch (\XuTL\QCloud\Tim\Exception\TIMException $e) {
    print_r($e->getMessage());
}
//更多圈子接口请看
XuTL\QCloud\Tim\Group 类
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

7

Last Release

2827d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/87b658aa9d49e0c80cfc609fa2b9dc6d615672b1d895f421f751945a0e394087?d=identicon)[larvacent](/maintainers/larvacent)

---

Top Contributors

[![xutl](https://avatars.githubusercontent.com/u/20939388?v=4)](https://github.com/xutl "xutl (49 commits)")

---

Tags

qcloudqcloud-timtencentsdkqcloudtim

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/xutl-qcloud-tim/health.svg)

```
[![Health](https://phpackages.com/badges/xutl-qcloud-tim/health.svg)](https://phpackages.com/packages/xutl-qcloud-tim)
```

###  Alternatives

[infusionsoft/php-sdk

PHP SDK for the Infusionsoft

1292.1M7](/packages/infusionsoft-php-sdk)[corley/influxdb-sdk

Send your app metrics to InfluxDB

84296.5k2](/packages/corley-influxdb-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
