PHPackages                             xutl/yii2-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. xutl/yii2-tim

ActiveYii2-extension

xutl/yii2-tim
=============

The tim extension for the Yii framework

3.0.0.2(7y ago)24.3kBSD-3-ClausePHP

Since Jul 7Pushed 7y agoCompare

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

READMEChangelog (10)Dependencies (3)Versions (19)Used By (0)

yii2-tim
========

[](#yii2-tim)

适用于Yii2的腾讯云通信

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

[](#installation)

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

Either run

```
$ composer require xutl/yii2-tim:~3.0
```

or add

```
"xutl/yii2-tim": "~3.0"

```

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

配置
--

[](#配置)

To use this extension, you have to configure the Connection class in your application configuration:

```
return [
    //....
    'components' => [
        'im' => [
            'class' => 'xutl\tim\Tim',
            'appId' => '123456',
            'accountType' => '123456',
            'administrator' => 'webmaster',
            'privateKey' => '私钥字符串一行',
            'publicKey' => '公钥字符串一行',
        ],
    ]
];
```

使用
--

[](#使用)

```
/** var Tim $im */
$im = Yii::$app->im->getAccount('test');
$res = $im->kick();
print_r($res);
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity72

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 ~23 days

Recently: every ~6 days

Total

18

Last Release

2831d ago

Major Versions

1.0.6.2 → 2.0.02018-01-26

2.0.5 → 3.0.02018-07-31

### 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

chatimyii2yii2-extensionyii2-widgetsyii2tim

### Embed Badge

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

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)

PHPackages © 2026

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