PHPackages                             zobeen/cloud-broadcast - 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. zobeen/cloud-broadcast

ActiveLibrary

zobeen/cloud-broadcast
======================

Unified access service for cloud broadcasting devices

v1.0.1(4y ago)05MITPHP

Since Jun 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/zobing/cloud-broadcast)[ Packagist](https://packagist.org/packages/zobeen/cloud-broadcast)[ Docs](http://122.114.33.66:8090/zobeen/cloud-broadcast)[ RSS](/packages/zobeen-cloud-broadcast/feed)WikiDiscussions main Synced 1mo ago

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

### 一、概述

[](#一概述)

云播报统一接入服务，适用于thinkphp 5.0及以上版本。支持两种云播报设备（嘉联云喇叭：jialian、阿里云语音播报：alibaba）

可直接下载SDK，放入项目中，添加如下代码：

```
include_once './autoload.php';

```

或，通过composer引入：

```
composer require zobeen/cloudbroadcast

```

### 二、嘉联云喇叭使用方法

[](#二嘉联云喇叭使用方法)

1、获取客户身份标识（customer）、签名key（key）、设备ID（device\_id）

2、初始化客户端

```
$client = zobeen\cloudbroadcast\Client::init('jialian', [
    'customer' => '',
    'key' => '',
    'domain' => 'https://apicloudspeaker.xgd.com/pay/result',
]);

```

3、发布消息

```
$data = [
    'pay_type' => zobeen\cloudbroadcast\core\driver\jialian\JiaLianCloudBroadcast::PAY_TYPE['wx'],
    'device_id' => '',
    'order_amount' => 1, // 单位：分
    'create_time' => date('YmdHis'),
    'order_id' => 'o' . date('YmdHis'),
    'store_id' => 1,
];
$client->publishMessage($data);

```

### 三、阿里云语音播报使用方法

[](#三阿里云语音播报使用方法)

1、获取AccessKeyId、AccessKeySecret、ProductKey、DeviceName

2、初始化客户端

```
$client = zobeen\cloudbroadcast\Client::init('alibaba', [
    'access_key_id' => '',
    'access_key_secret' => '',
    'region_id' => 'cn-shanghai',
]);

```

3、发布消息

```
$data = [
    'product_key' => '',
    'device_name' => '',
    'message' => '测试微信收款0.01元',
];
$client->publishMessage($data);

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

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

Total

2

Last Release

1787d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7269400?v=4)[zobeen](/maintainers/zobeen)[@zobeen](https://github.com/zobeen)

---

Top Contributors

[![zobing](https://avatars.githubusercontent.com/u/18100619?v=4)](https://github.com/zobing "zobing (3 commits)")

### Embed Badge

![Health badge](/badges/zobeen-cloud-broadcast/health.svg)

```
[![Health](https://phpackages.com/badges/zobeen-cloud-broadcast/health.svg)](https://phpackages.com/packages/zobeen-cloud-broadcast)
```

PHPackages © 2026

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