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

ActiveLibrary

itxiao6/live
============

直播抓取，支持的直播:YY直播，斗鱼直播，花椒直播，熊猫直播，映客直播，一直播

1.0.0.2(7y ago)18792MITPHPPHP &gt;=5.5.9

Since Jun 22Pushed 7y ago1 watchersCompare

[ Source](https://github.com/itxiao6/Live)[ Packagist](https://packagist.org/packages/itxiao6/live)[ Docs](http://github.com/itxiao6/live)[ RSS](/packages/itxiao6-live/feed)WikiDiscussions master Synced today

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

### 直播抓取

[](#直播抓取)

#### 支持的直播平台:YY直播、斗鱼直播、花椒直播、熊猫直播、映客直播、一直播

[](#支持的直播平台yy直播斗鱼直播花椒直播熊猫直播映客直播一直播)

### 使用步骤

[](#使用步骤)

##### 1. 使用composer 安装

[](#1-使用composer-安装)

```
composer require itxiao6/live

```

##### 2. 创建test.php

[](#2-创建testphp)

```
/**
 * 引入Composer 自动加载规则
 */
include_once('vendor/autoload.php');
/**
 * 当前支持的直播平台
 * 1.熊猫直播
 * 2.斗鱼
 * 3.花椒直播
 * 4.一直播
 * 5.映客直播
 */
/**
 * 自动分析平台 及 抓取直播流信息
 */
$res = \Itxiao6\Live\Live::getInterface() -> auto($_GET['url']);
/**
 * 输出测试页面 播放直播
 */
echo '

        视频直播

  直播间
     '.$res -> get_source().'

';
```

##### 3.访问测试页面(播放器使用的 Video.js) [文档参考链接](https://github.com/videojs/video.js)

[](#3访问测试页面播放器使用的-videojs-文档参考链接)

###### 访问:[http://examples.com/test.php?url=正在直播的页面地址](http://examples.com/test.php?url=%E6%AD%A3%E5%9C%A8%E7%9B%B4%E6%92%AD%E7%9A%84%E9%A1%B5%E9%9D%A2%E5%9C%B0%E5%9D%80)

[](#访问httpexamplescomtestphpurl正在直播的页面地址)

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

2879d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4aa333e293f1a1ac60afd39e0c6f3463404df4d6e2ff11bff698c868826aab18?d=identicon)[itxiao6](/maintainers/itxiao6)

---

Top Contributors

[![itxiao6](https://avatars.githubusercontent.com/u/20547806?v=4)](https://github.com/itxiao6 "itxiao6 (9 commits)")

---

Tags

YY直播

### Embed Badge

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

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

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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