PHPackages                             96qbhy/agora - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. 96qbhy/agora

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

96qbhy/agora
============

声网php-SDK

v0.2.0(7y ago)121.5k3[1 PRs](https://github.com/qbhy/agora/pulls)PHPPHP &gt;=7.1

Since Jan 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/qbhy/agora)[ Packagist](https://packagist.org/packages/96qbhy/agora)[ RSS](/packages/96qbhy-agora/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

agora
=====

[](#agora)

声网php-SDK

要求
--

[](#要求)

- composer
- php &gt;=7.1
- ext-json &gt;=1.0

安装
--

[](#安装)

```
$ composer require 96qbhy/agora
```

使用
--

[](#使用)

```
require_once 'vendor/autoload.php';

$config = [
    'debug'  => true,
    'id'     => 'your id',
    'secret' => 'your secret',
];

$agora = new \Qbhy\Agora\Agora($config);

var_dump($agora->project->all()); // 获取所有项目
var_dump($agora->usage->get('2019-1-21','2019-1-22',['appid'])); // 获取用量
var_dump($agora->kicking_rule->all()); // 获取所有规则
var_dump($agora->token->buildToken('channel','uid')); // 生成token
```

[96qbhy/agora](https://github.com/qbhy/agora)

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~94 days

Total

2

Last Release

2620d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24204533?v=4)[桥边红药](/maintainers/qbhy)[@qbhy](https://github.com/qbhy)

---

Top Contributors

[![qbhy](https://avatars.githubusercontent.com/u/24204533?v=4)](https://github.com/qbhy "qbhy (5 commits)")[![qbhy0715](https://avatars.githubusercontent.com/u/16954340?v=4)](https://github.com/qbhy0715 "qbhy0715 (5 commits)")

### Embed Badge

![Health badge](/badges/96qbhy-agora/health.svg)

```
[![Health](https://phpackages.com/badges/96qbhy-agora/health.svg)](https://phpackages.com/packages/96qbhy-agora)
```

###  Alternatives

[96qbhy/tt-microapp

字节跳动小程序sdk

729.3k](/packages/96qbhy-tt-microapp)[96qbhy/baidu-aip

百度 AI 开放平台 php-sdk

594.1k](/packages/96qbhy-baidu-aip)[uduncloud/udun-wallet-sdk

udun-wallet-sdk

153.3k](/packages/uduncloud-udun-wallet-sdk)

PHPackages © 2026

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