PHPackages                             liaosy21/rongcloud-php-sdk - 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. liaosy21/rongcloud-php-sdk

ActiveLibrary[API Development](/categories/api)

liaosy21/rongcloud-php-sdk
==========================

基于融云服务端SDK，做了一些更新.

v2.0.2(8y ago)0368MITPHPPHP &gt;=5.3.0

Since Jan 8Pushed 8y agoCompare

[ Source](https://github.com/liaosy21/server-sdk-php-composer)[ Packagist](https://packagist.org/packages/liaosy21/rongcloud-php-sdk)[ RSS](/packages/liaosy21-rongcloud-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

server-sdk-php-composer
=======================

[](#server-sdk-php-composer)

Rong Cloud Server SDK in PHP for Composer.

在原有基础v2.0.1上进行少量修改：
1.错误处理全部修改为throw new Exception 调用者自己捕获处理
2.新增聊天室保活服务

安装
--

[](#安装)

- 推荐通过 composer 安装，使用 composer.json 声明依赖，或者运行下面的命令：

```
$ composer require liaosy21/rongcloud-php-sdk
```

- 直接下载安装，SDK 没有依赖其他第三方库，可直接下载引入使用。

使用方法
----

[](#使用方法)

```
include 'RongCloud.php';
$appKey = 'appKey';
$appSecret = 'appSecret';
$jsonPath = "jsonsource/";
...
    $rongCloud = new \RongCloud\RongCloud($appKey,$appSecret);
    $token = $rongCloud->user()->getToken('userId1', 'username', 'http://www.rongcloud.cn/images/logo.png');;
...
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~130 days

Recently: every ~161 days

Total

6

Last Release

3124d ago

Major Versions

v1.0.4 → v2.0.12017-04-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/f6a09dbde2b0f3d86067e2b3cbc1450921fc5e63157ab362fbb1205544fdec68?d=identicon)[liaosy21](/maintainers/liaosy21)

---

Top Contributors

[![wangjun083](https://avatars.githubusercontent.com/u/7257758?v=4)](https://github.com/wangjun083 "wangjun083 (10 commits)")[![changxiaoqiang](https://avatars.githubusercontent.com/u/8535523?v=4)](https://github.com/changxiaoqiang "changxiaoqiang (1 commits)")[![ericyangpan](https://avatars.githubusercontent.com/u/212329?v=4)](https://github.com/ericyangpan "ericyangpan (1 commits)")

---

Tags

sdkrongCloudrong cloudrlcoud

### Embed Badge

![Health badge](/badges/liaosy21-rongcloud-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/liaosy21-rongcloud-php-sdk/health.svg)](https://phpackages.com/packages/liaosy21-rongcloud-php-sdk)
```

###  Alternatives

[rongcloud/php-sdk

Rong Cloud Server SDK in PHP.

1983.6k3](/packages/rongcloud-php-sdk)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

233.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

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