PHPackages                             rachel/talkfun-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. rachel/talkfun-sdk

ActiveLibrary[API Development](/categories/api)

rachel/talkfun-sdk
==================

欢拓云直播WEB API

0.1.5(5y ago)02.7kMITPHPPHP ^7.1CI failing

Since Jan 3Pushed 5y agoCompare

[ Source](https://github.com/rachelroll/talkfun)[ Packagist](https://packagist.org/packages/rachel/talkfun-sdk)[ RSS](/packages/rachel-talkfun-sdk/feed)WikiDiscussions master Synced 1mo ago

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

说明文档
====

[](#说明文档)

基于 欢拓云直播WEB API 封装,适合laravel开箱即用

### 安装

[](#安装)

`composer require rachel/talkfun-sdk -vvv`

### 配置

[](#配置)

在使用本扩展之前，你需要去 [欢拓云](http://www.talk-fun.com/) 合作接入,申请相应的 `openID` 和 `openToken`. 然后在 config/services.php 中配置相应的配置项

```
'talkfun'=>[
        'openID' => xxxx,
        'openToken' => 'xxxx'),
    ],

```

### 使用

[](#使用)

```
//获取某场直播的记录信息及回放地址

//通过单例模式
$res = app('talkfun')->liveGet(1861102,$expire = 3600);

//通过 Facade 直接使用
$res = Talkfun::liveGet(1861102,$expire = 3600)
```

示例:

```
{
  "data": {
    "liveid": "1861102",
    "title": "\u7b2c\u4e03\u8bb2\u4e2d\u5b66\u751f\u5b66\u4e60\u5fc3\u7406\uff08\u4e09\uff092h",
    "bid": "107671",
    "roomid": "785414",
    "startTime": "1546085178",
    "endTime": "1546089085",
    "duration": "3906",
    "scoreTotal": "10000",
    "flower": "66",
    "playback": "1",
    "url": "http:\/\/open.talk-fun.com\/play\/PDY5ISAiIWggaiIt.html?st=TKoxvGbxyOyArEkXWSthbw&e=1546501951&from=api",
    "album_id": "0",
    "pv": "82",
    "uv": "30",
    "uv_peak": "26"
  },
  "cache": true,
  "code": 0
}
```

### 参考

[](#参考)

[欢拓云WEB-API](https://open.talk-fun.com/docs/api/)

### License

[](#license)

MIT

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~157 days

Recently: every ~196 days

Total

6

Last Release

1898d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f9f4e3f1eb126798e2fae3ad81ea2895fbe7548fe025d25c0ea770dc6a75fc2?d=identicon)[rachelroll](/maintainers/rachelroll)

---

Top Contributors

[![rossli](https://avatars.githubusercontent.com/u/8399402?v=4)](https://github.com/rossli "rossli (6 commits)")[![rachelroll](https://avatars.githubusercontent.com/u/23481049?v=4)](https://github.com/rachelroll "rachelroll (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rachel-talkfun-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/rachel-talkfun-sdk/health.svg)](https://phpackages.com/packages/rachel-talkfun-sdk)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M475](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M270](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M452](/packages/google-gax)

PHPackages © 2026

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