PHPackages                             qiaweicom/rongcloud - 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. qiaweicom/rongcloud

ActiveLibrary[API Development](/categories/api)

qiaweicom/rongcloud
===================

Rong Cloud laravel 5 composer

1.1(8y ago)214MITPHP

Since Dec 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/qiaweicom/rongcloud-laravel)[ Packagist](https://packagist.org/packages/qiaweicom/rongcloud)[ RSS](/packages/qiaweicom-rongcloud/feed)WikiDiscussions master Synced today

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

RongCloud Server PHP SDK for Laravel 5
======================================

[](#rongcloud-server-php-sdk-for--laravel-5)

集成融云服务端最新SDK在 Laravel 5 的composer包。

安装
--

[](#安装)

```
composer require qiaweicom/rongcloud

```

使用
--

[](#使用)

如果你是使用的laravel 5.5以上版本可以直接利用composer安装即可。

```
composer require qiaweicom/rongcloud

```

如果使用laravel5.4及以下版本需要你手动设置laravel到服务提供列表中。

找到 `config/app.php` 配置文件中，key为 `providers` 的数组，在数组中添加服务提供者。

```
    'providers' => [
        // ...
        QiaWeiCom\RongCloud\Providers\RongCloudServiceProvider::class,
    ]
```

运行 `php artisan vendor:publish` 命令，发布配置文件到你的项目中。

修改配置文件 `config/rong_cloud.php` 中的配置好appey,appSecret。

Examples
--------

[](#examples)

### get token

[](#get-token)

```
	 public function getToken()
        {
            $rongCouldAppKey = config('rong_cloud.appKey');
            $rongCouldAppSecret = config('rong_cloud.appSecret');
            $RongCloud = new RongCloud($rongCouldAppKey, $rongCouldAppSecret);

            echo ("\n***************** user **************\n");
            // 获取 Token 方法
            $result = $RongCloud->user()->getToken('userId1', 'username', 'http://www.rongcloud.cn/images/logo.png');
            echo "getToken    ";
            print_r($result);
            echo "\n";
        }
```

更多使用方法，请参考融云API文档： 或者参考 安装包里面的 `example.php`.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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

Total

2

Last Release

3064d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/65cee097069740118279b17df545e149018b8959184af5eea648d30bc8ce1564?d=identicon)[devkang](/maintainers/devkang)

---

Top Contributors

[![dev-kang](https://avatars.githubusercontent.com/u/24736642?v=4)](https://github.com/dev-kang "dev-kang (2 commits)")

---

Tags

laravellaravel 5l5rongCloudRongCloud Server SDK

### Embed Badge

![Health badge](/badges/qiaweicom-rongcloud/health.svg)

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

###  Alternatives

[darkaonline/l5-swagger

OpenApi or Swagger integration to Laravel

2.9k34.0M111](/packages/darkaonline-l5-swagger)[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)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[latrell/swagger

Swagger for Laravel 5

4962.8k](/packages/latrell-swagger)[latrell/rongcloud

融云服务端SDK在Laravel的封装包。

2111.7k](/packages/latrell-rongcloud)[scriptdevelop/whatsapp-manager

Paquete para manejo de WhatsApp Business API en Laravel

762.6k](/packages/scriptdevelop-whatsapp-manager)

PHPackages © 2026

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