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

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

leovideo/leovideo-php-sdk
=========================

Dayang LeoVideo php sdk.

v1.0(10y ago)229MITPHPPHP &gt;=5.3

Since Nov 4Pushed 10y ago1 watchersCompare

[ Source](https://github.com/erigo/leovideo-php-sdk)[ Packagist](https://packagist.org/packages/leovideo/leovideo-php-sdk)[ RSS](/packages/leovideo-leovideo-php-sdk/feed)WikiDiscussions master Synced yesterday

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

大洋 LeoVideo 云转码 SDK for PHP
===========================

[](#大洋-leovideo-云转码-sdk-for-php)

安装
--

[](#安装)

推荐通过 composer 安装，运行下面的命令即可：

```
composer require leovideo/leovideo-php-sdk

```

使用方法
----

[](#使用方法)

### 提交转码任务（示例）

[](#提交转码任务示例)

```
use Hoge\Media\AVFormat;
use Hoge\Transcoder\TargetFileWithParameters;
use Hoge\Transcoder\TranscodeTask;
use Hoge\Transcoder\SourceFile;
use Hoge\Transcoder\TargetFileWithTemplate;
use Hoge\Transcoder\Transcoder;
...

    $sourceFile           = new SourceFile();
    $sourceFile->pathInfo = 'ftp://user:passwd@ftp.example.com/path/to';
    $sourceFile->fileName = 'filename.mp4';

    $targetFile           = new TargetFileWithTemplate();
    $targetFile->pathInfo = 'ftp://user:passwd@ftp.example.com/path/to';
    $targetFile->fileName = 'filename.mp4';

    $transcodeTask = new TranscodeTask('test1', $sourceFile, array($targetFile));
    $response      = Transcoder::createTask($transcodeTask);

...
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3896d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8c0335eb0922ee5d5ac47536636b1c6a526a7b77a0133cb6be29abc8b72a7978?d=identicon)[erigo](/maintainers/erigo)

---

Top Contributors

[![erigo](https://avatars.githubusercontent.com/u/436187?v=4)](https://github.com/erigo "erigo (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/leovideo-leovideo-php-sdk/health.svg)

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

###  Alternatives

[phptry/phptry

Try type for PHP

476.2k](/packages/phptry-phptry)

PHPackages © 2026

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