PHPackages                             jeong/im - 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. jeong/im

ActiveLibrary[API Development](/categories/api)

jeong/im
========

TP5+腾讯云通信服务端api

1.0.3(4y ago)0341MITPHP

Since Aug 13Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Jeong975/tim)[ Packagist](https://packagist.org/packages/jeong/im)[ RSS](/packages/jeong-im/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (4)Used By (0)

腾讯云通信+ThinkPHP5.0
=================

[](#腾讯云通信thinkphp50)

使用方法
----

[](#使用方法)

1. 在`application/config.php`中增加配置信息：

    ```
    'im' => [
      'appid'  => '云通信appid',
      'prefix' => '前缀', // cache存储的前缀
      'admin'  => '帐号管理员用户名',
      'secret'   => '云通信密钥',
      'domain' => 'https://console.tim.qq.com',//请求的域名，无特殊情况不用修改
      'fun_arr' => [
        //格式举例：
        //'account_import'           => '/v4/im_open_login_svc/account_import',//单个帐号导入
      ],//请求接口数组，如果遇到报错为：暂未封装此方法，可根据文档自己封装。（文档：https://cloud.tencent.com/document/product/269/1519），可在此处添加
    ],
    ```
2. 调用

    ```
    //获取配置
    $config = Config::get('im');
    //账号导入
    $res = json_decode(IM::TX($config)->fun('account_import', [
      "Identifier" => '用户名，长度不超过32字节',
      "Nick" => '用户昵称',
      "FaceUrl" => '用户头像 URL'
    ])->post(), true);
    if ($res['ActionStatus'] !== 'OK' || $res['ErrorCode'] !== 0) {
      $this->returnFail('登录失败:通讯连接失败');
    }

    //生成签名
    IM::TX($config)->user($data['account'])->genSig();
    ```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.9% 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 ~200 days

Total

3

Last Release

1749d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/650572602227a89b7a0340cdfd89ea030298d30855fb7534f515c468fcfcb9d2?d=identicon)[Jeong975](/maintainers/Jeong975)

---

Top Contributors

[![Jeong975](https://avatars.githubusercontent.com/u/49387687?v=4)](https://github.com/Jeong975 "Jeong975 (8 commits)")[![935238881](https://avatars.githubusercontent.com/u/69627105?v=4)](https://github.com/935238881 "935238881 (1 commits)")

### Embed Badge

![Health badge](/badges/jeong-im/health.svg)

```
[![Health](https://phpackages.com/badges/jeong-im/health.svg)](https://phpackages.com/packages/jeong-im)
```

###  Alternatives

[statamic/cms

The Statamic CMS Core Package

4.8k3.6M985](/packages/statamic-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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