PHPackages                             royalcms/live - 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. royalcms/live

ActiveLibrary[API Development](/categories/api)

royalcms/live
=============

An live SDK for vhall Pass web api.

v1.1.0(5y ago)024MITPHPPHP ^7.2.5

Since Mar 26Pushed 5y ago1 watchersCompare

[ Source](https://github.com/royalcms/royalcms-live)[ Packagist](https://packagist.org/packages/royalcms/live)[ Docs](https://github.com/royalcms/royalcms-live)[ RSS](/packages/royalcms-live/feed)WikiDiscussions master Synced 3w ago

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

Royalcms Live Component
=======================

[](#royalcms-live-component)

安装
--

[](#安装)

> 通过composer，这是推荐的方式，可以使用composer.json 声明依赖，或者运行下面的命令。

```
$ composer require royalcms/live

```

使用方法
----

[](#使用方法)

#### 1 使用composer形式

[](#1-使用composer形式)

```
use Royalcms\Component\Live\Paas\Room;
use Royalcms\Component\Live\Paas\Document;

$config = [
	'app_id' => 'xxxx', // 控制台中获取
	'secret_key' => 'xxx', // 控制台中获取
	'show_request_url' => false, // 是否显示构造请求连接&参数 json console (请勿在生产环境打开)
	'show_request_data' => false, // 是否显示接口返回数据 json console (请勿在生产环境打开)
];

// 实例化直播对象
$roomObj = new Room($config);

// 创建房间
$resultCreate = $roomObj->create();

// 获取房间列表
$resultList = $roomObj->lists();

// 实例化文档对象
$roomObj = new Document($config);

// 文档参数填写
$params = [
	// 文档要写绝对路径
    'document' => __DIR__. "/test.pptx"
];

// 创建文档
$resultCreate = $roomObj->create($params);
```

#### 2 直接引入使用

[](#2-直接引入使用)

```
// 创建房间
$resultCreate = RC_Live::room()->create($params);

var_dump($resultCreate);
```

常见问题
----

[](#常见问题)

- 使用原生PHP异常处理错误，请使用catch(Exception $e) 进行捕获

代码许可
----

[](#代码许可)

The MIT License (MIT).

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

2

Last Release

2110d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1106638?v=4)[Hao.Dongfang](/maintainers/royalwang)[@royalwang](https://github.com/royalwang)

---

Top Contributors

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

---

Tags

laravelliveroyalcmsvhall

### Embed Badge

![Health badge](/badges/royalcms-live/health.svg)

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

###  Alternatives

[defstudio/telegraph

A laravel facade to interact with Telegram Bots

815320.5k3](/packages/defstudio-telegraph)[neuron-core/neuron-laravel

Official Neuron AI Laravel SDK.

11337.8k1](/packages/neuron-core-neuron-laravel)[riclep/laravel-storyblok

A Laravel wrapper around the Storyblok API to provide a familiar experience for Laravel devs

6279.6k5](/packages/riclep-laravel-storyblok)[simplestats-io/laravel-client

Analytics for Laravel. Track visitors, registrations, and payments. Discover which channels actually drive revenue, not just traffic. Server-side, GDPR compliant, ad-blocker proof.

5019.3k](/packages/simplestats-io-laravel-client)

PHPackages © 2026

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