PHPackages                             dying318/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. [API Development](/categories/api)
4. /
5. dying318/qcloud-tim

ActiveLibrary[API Development](/categories/api)

dying318/qcloud-tim
===================

Qcloud TIM php sdk

1.0.4(6y ago)08MITPHP

Since Jul 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/dying318/qcloud-tim)[ Packagist](https://packagist.org/packages/dying318/qcloud-tim)[ RSS](/packages/dying318-qcloud-tim/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (9)Used By (0)

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

[](#qcloud-tim)

2019-11-05 Forked from [xutl/qcloud-tim](https://github.com/xutl/qcloud-tim), 部分功能优化

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

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

[](#installation)

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

Either run

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

```

or add

```
"dying318/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 类

// 好有关系操作
$friend = $client->getFirend('accountId')
// 检查黑名单关系
$result = $friend->blackCheck(['checkAccount1'], Constants::BLACK_CHECK_RESULT_TYPE_BOTH);
if ($result->isSucceed()) {
    $checkContent = $result->getContent();
}

//群组操作
$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

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 90.7% 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 ~67 days

Recently: every ~114 days

Total

8

Last Release

2379d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a9172ad5204ba0419feb0c33bc9ff312b6ca2d0d751915165fc1eb0aca65ff0?d=identicon)[dying318](/maintainers/dying318)

---

Top Contributors

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

---

Tags

sdkqcloudtim

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[saloonphp/saloon

Build beautiful API integrations and SDKs with Saloon

2.4k9.6M468](/packages/saloonphp-saloon)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[php-opencloud/openstack

PHP SDK for OpenStack APIs. Supports BlockStorage, Compute, Identity, Images, Networking and Metric Gnocchi

2292.2M24](/packages/php-opencloud-openstack)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)

PHPackages © 2026

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