PHPackages                             vitta/php-aliyun-open-api-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. vitta/php-aliyun-open-api-live

ActiveLibrary[API Development](/categories/api)

vitta/php-aliyun-open-api-live
==============================

aliyunsdk

1.1.4(7y ago)018Apache-2.0PHPPHP &gt;=5.5.0

Since Mar 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Joker-1991/php-aliyun-open-api-live)[ Packagist](https://packagist.org/packages/vitta/php-aliyun-open-api-live)[ RSS](/packages/vitta-php-aliyun-open-api-live/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (17)Used By (0)

php-aliyun-open-api-live
========================

[](#php-aliyun-open-api-live)

[![Build Status](https://camo.githubusercontent.com/f6e4b2e896b2c60f3747a29973dfb85c81af80fd44638284114e44453dd3649d/68747470733a2f2f7472617669732d63692e6f72672f616c6979756e6170692f7068702d616c6979756e2d6f70656e2d6170692d6c6976652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aliyunapi/php-aliyun-open-api-live)[![Latest Stable Version](https://camo.githubusercontent.com/81a2ad500949d69a68f92b70a7d57c3f46b56f021989f5302e4eb7454677faaa/68747470733a2f2f706f7365722e707567782e6f72672f616c6979756e6170692f7068702d616c6979756e2d6f70656e2d6170692d6c6976652f762f737461626c652e706e67)](https://packagist.org/packages/aliyunapi/php-aliyun-open-api-live)[![Total Downloads](https://camo.githubusercontent.com/6dc37946ce982652105840c40f7e00911901a1b7e3dbd37a4b774d009dd0b451/68747470733a2f2f706f7365722e707567782e6f72672f616c6979756e6170692f7068702d616c6979756e2d6f70656e2d6170692d6c6976652f646f776e6c6f6164732e706e67)](https://packagist.org/packages/aliyunapi/php-aliyun-open-api-live)

Installation
------------

[](#installation)

```
"vitta/php-aliyun-open-api-live": "~1.1.3"

```

to the require section of your composer.json.

使用方式
----

[](#使用方式)

```
$live = new \aliyun\live\Client([
    'accessKeyId' => '123456',
    'accessSecret' => '123456'
    'appName' => 'live',
    'domain' => 'live.cctv.com',
    'pushAuth' => '1234567',
    'sidePushDomain' => 'your push url',
    'sidePlayDomain' => 'you play url'
]);

//发送接口请求
$package = [
    'Action' => 'DescribeLiveStreamsPublishList',
    'DomainName' => 'live.cctv.com',
    'StartTime' => gmdate('Y-m-d\TH:i:s\Z', strtotime('2017-03-15')),
    'EndTime' => gmdate('Y-m-d\TH:i:s\Z', strtotime('2017-04-01')),
];
$response = $live->createRequest($package);
print_r($response);
//非请求接口
生成推流地址
$live->getPushPath();
$live->getPushArg($uuid);
生成边缘推流地址
$live->getSidePushUrl($streamName)
//获取播放地址
$live->getPlayUrls($uuid);
获取边缘播放地址
$live->getPlayUrls($stream, true);

exit;

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 81.4% 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 ~47 days

Recently: every ~1 days

Total

15

Last Release

2674d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/df492a37b983e55b594c45f880bb18f2bf2db628931da46851a581dae23a5cef?d=identicon)[Joker-1991](/maintainers/Joker-1991)

---

Top Contributors

[![xutl](https://avatars.githubusercontent.com/u/20939388?v=4)](https://github.com/xutl "xutl (35 commits)")[![Attiv](https://avatars.githubusercontent.com/u/15698129?v=4)](https://github.com/Attiv "Attiv (8 commits)")

---

Tags

aliyunlivealiyun-sdk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vitta-php-aliyun-open-api-live/health.svg)

```
[![Health](https://phpackages.com/badges/vitta-php-aliyun-open-api-live/health.svg)](https://phpackages.com/packages/vitta-php-aliyun-open-api-live)
```

###  Alternatives

[alibabacloud/client

Alibaba Cloud Client for PHP - Use Alibaba Cloud in your PHP project

2223.5M367](/packages/alibabacloud-client)[aliyunapi/php-aliyun-open-api-live

aliyunsdk

213.7k](/packages/aliyunapi-php-aliyun-open-api-live)

PHPackages © 2026

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