PHPackages                             puzzle9/laravel-tencent-cloud-sdk-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. puzzle9/laravel-tencent-cloud-sdk-im

ActiveLibrary[API Development](/categories/api)

puzzle9/laravel-tencent-cloud-sdk-im
====================================

tencentcloud-sdk-tim for laravel

v1.0.4(5y ago)027Apache-2.0PHP

Since Jan 21Pushed 5y ago1 watchersCompare

[ Source](https://github.com/puzzle9/laravel-tencent-cloud-sdk-im)[ Packagist](https://packagist.org/packages/puzzle9/laravel-tencent-cloud-sdk-im)[ RSS](/packages/puzzle9-laravel-tencent-cloud-sdk-im/feed)WikiDiscussions main Synced yesterday

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

安装
==

[](#安装)

```
composer install puzzle9/laravel-tencent-cloud-sdk-im -vvv
```

laravel
-------

[](#laravel)

### 推送配置

[](#推送配置)

```
php artisan vendor:publish --tag=laravel-tencentsdk-im
```

lumen
-----

[](#lumen)

`bootstrap/app.php`

```
$app->register(Puzzle9\TencentCloudSdkIm\ServiceProvider::class);
```

### 推送配置

[](#推送配置-1)

```
cp  ./vendor/puzzle9/laravel-tencent-cloud-sdk-im/src/config.php ./config/tencentsdkim.php
```

更新 `.env`
---------

[](#更新-env)

```
TENCENT_TIM_APPID=
TENCENT_TIM_SECRET=
TENCENT_TIM_IDENTIFIER=
```

使用
==

[](#使用)

```
use Puzzle9\TencentCloudSdkIm\TencentCloudSdkIm;

// 获取 user sig
TencentCloudSdkIm::GenUserSig('user_id');

// 帐号
$account = TencentCloudSdkIm::Account();
// 查询帐号
$account->check('user_id');

// ...
```

其他
==

[](#其他)

截至第一版提交 因 `composer.json` `require` 版本问题 在 `laravel` `6.x` 之后可能安装失败
-------------------------------------------------------------------

[](#截至第一版提交-因-composerjson-require-版本问题-在-laravel-6x-之后可能安装失败)

修改 项目 `composer.json` 为

```
{
    "prefer-stable": false,
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/puzzle9/qcloud-im-sdk-php",
            "canonical": false
        }
    ]
}
```

删除 `composer.lock` 和 `vendor` 重新安装即可

todo
====

[](#todo)

- 优化 `cache` `log` 部分
- 让其更人性化一点
- 第一个版本

感谢
==

[](#感谢)

-

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

Total

2

Last Release

1938d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13518196?v=4)[puz\_zle](/maintainers/puzzle9)[@puzzle9](https://github.com/puzzle9)

---

Top Contributors

[![puzzle9](https://avatars.githubusercontent.com/u/13518196?v=4)](https://github.com/puzzle9 "puzzle9 (1 commits)")

---

Tags

laraveltencent-cloud-sdktencent-cloud-sdk-timtencent tim

### Embed Badge

![Health badge](/badges/puzzle9-laravel-tencent-cloud-sdk-im/health.svg)

```
[![Health](https://phpackages.com/badges/puzzle9-laravel-tencent-cloud-sdk-im/health.svg)](https://phpackages.com/packages/puzzle9-laravel-tencent-cloud-sdk-im)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[api-ecosystem-for-laravel/dingo-api

A RESTful API package for the Laravel and Lumen frameworks.

3121.5M10](/packages/api-ecosystem-for-laravel-dingo-api)[essa/api-tool-kit

set of tools to build an api with laravel

52680.5k](/packages/essa-api-tool-kit)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[kirschbaum-development/laravel-openapi-validator

Automatic OpenAPI validation for Laravel HTTP tests

581.1M5](/packages/kirschbaum-development-laravel-openapi-validator)

PHPackages © 2026

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