PHPackages                             githen/laravel-tencent-cme - 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. githen/laravel-tencent-cme

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

githen/laravel-tencent-cme
==========================

基于laravel的腾讯智能创作

v1.0.3(1y ago)0270↓50%MITPHP

Since Nov 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/jiaoyu-cn/laravel-tencent-cme)[ Packagist](https://packagist.org/packages/githen/laravel-tencent-cme)[ RSS](/packages/githen-laravel-tencent-cme/feed)WikiDiscussions main Synced 1mo ago

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

laravel-TencentVod
==================

[](#laravel-tencentvod)

基于laravel的腾讯智能创作

[![image](https://camo.githubusercontent.com/aa417890963f0aeb8dcc9a1db1eb205bd3e40ae2a0ab587f491eebe1fcb274b8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6a69616f79752d636e2f6c61726176656c2d74656e63656e742d636d65)](https://github.com/jiaoyu-cn/laravel-tencent-cme/stargazers)[![image](https://camo.githubusercontent.com/bf72141762fda97f482f83285f100112994ba2da984b7eb3de4f3b6bc4e67ec6/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6a69616f79752d636e2f6c61726176656c2d74656e63656e742d636d65)](https://github.com/jiaoyu-cn/laravel-tencent-cme/network/members)[![image](https://camo.githubusercontent.com/d620d7e567a880bfb588f58973600d53e94449681bc70cd0e73e900c64e3b249/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6a69616f79752d636e2f6c61726176656c2d74656e63656e742d636d65)](https://github.com/jiaoyu-cn/laravel-tencent-cme/issues)

安装
--

[](#安装)

```
composer require githen/laravel-tencent-cme:~v1.0.0

# 迁移配置文件
php artisan vendor:publish --provider="Githen\LaravelTencentCme\CmeProvider"
```

配置文件说明
------

[](#配置文件说明)

生成`cme.php`上传配置文件

```
return [

    /**
     * |--------------------------------------------------------------------------
     * | 智能创作配置
     * |--------------------------------------------------------------------------
     * | definition:视频编码配置 ID，支持自定义创建，推荐优先使用系统预置的导出配置。
     * |   10：分辨率为 480P，输出视频格式为 MP4；
     * |   11：分辨率为 720P，输出视频格式为 MP4；
     * |   12：分辨率为 1080P，输出视频格式为 MP4。
     * |
     */
    'global' => [
        'auth' => ['auth.api'], // 路由中间件
        'definition' => 10,
        'exportDestination' => 'VOD',
        'version' => '2019-10-29',
        'host' => 'cme.tencentcloudapi.com'
    ],
    'cme' => [
        'secret_id' => '',
        'secret_key' => '',
        'platform' => env('TENCENT_VOD_PLATFORM', ''),
    ],
];
```

支持方法
----

[](#支持方法)

### 获取项目签名 getSignature($userId, $projectId, $action = "OpenProject", string $label = 'cme')

[](#获取项目签名-getsignatureuserid-projectid-action--openproject-string-label--cme)

参数类型说明$userId必填：String所属人id$projectIdStringcme项目id$actionString操作OpenProject、Upload$labelString配置项名默认cme### 创建cme项目 CreateProject($name, $ownerId)

[](#创建cme项目-createprojectname-ownerid)

参数类型说明$name必填：Stringcme项目名称$ownerIdString所属人id$labelString配置项名默认cme### 在项目中导入媒体 ImportMediaToProject($projectId, $fileId, string $label = 'cme')

[](#在项目中导入媒体-importmediatoprojectprojectid-fileid-string-label--cme)

参数类型说明$projectId必填：Stringcme项目id$fileIdString云点播媒资文件 Id$labelString配置项名默认cme### 项目导出 ExportVideoEditProject($projectId, $projectName, string $label = 'cme')

[](#项目导出-exportvideoeditprojectprojectid-projectname-string-label--cme)

参数类型说明$projectId必填：Stringcme项目id$projectNameString导出名称$labelString配置项名默认cme### 获取任务详情 DescribeTaskDetail($taskId, string $label = 'cme')

[](#获取任务详情-describetaskdetailtaskid-string-label--cme)

参数类型说明$taskId必填：String任务id$labelString配置项名默认cme

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity44

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

Total

3

Last Release

614d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/51a06d2f182ca37da5fc95e1fa8988248962856bc62e65dc0a5fbb420af3e9af?d=identicon)[githen](/maintainers/githen)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/githen-laravel-tencent-cme/health.svg)

```
[![Health](https://phpackages.com/badges/githen-laravel-tencent-cme/health.svg)](https://phpackages.com/packages/githen-laravel-tencent-cme)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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