承接 ilovevideoeditor/sdk 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ilovevideoeditor/sdk

Composer 安装命令:

composer require ilovevideoeditor/sdk

包简介

Official PHP SDK for the iLoveVideoEditor cloud video rendering API — render MP4/WebM videos programmatically from JSON scene descriptions and templates

README 文档

README

Official PHP SDK for iLoveVideoEditor — render videos programmatically with a cloud video API.

iLoveVideoEditor is a cloud video rendering API: submit a JSON scene description or template, queue a render, and download the resulting MP4/WebM. This package is the official PHP client, combining a friendly high-level wrapper (queue + poll + download URL in one call) with a fully generated API client covering every endpoint.

Packagist Version PHP Version License: MIT Docs Run in Postman

Features

  • One-call rendering — submit a VideoJSON scene description with render() and block until the MP4/WebM is ready
  • Progress callbacksonProgress($status, $percent) plus configurable pollInterval and maxWait
  • Render management — check job status with getRender() and refresh expiring download URLs with refreshUrl()
  • Templates — list and fetch templates with listTemplates() / getTemplate(), or render them via the generated TemplatesApi::renderTemplate()
  • Full API coverage — a generated client (iLoveVideoEditorSDK\Api\*) for renders, templates, assets, projects, webhooks, workflows, API keys, billing, tools, renditions, integrations, and health — including render cancellation and cost estimation
  • PHP 8.1+ with strict types, readonly result objects, and Guzzle 7 under the hood

Installation

composer require ilovevideoeditor/sdk

Requires PHP >= 8.1 with the curl, json, and mbstring extensions.

Quick start

<?php
require_once 'vendor/autoload.php';

use iLoveVideoEditor\SDK\iLoveVideoEditorClient;

$client = new iLoveVideoEditorClient([
    'apiKey' => getenv('ILOVEVIDEOEDITOR_API_KEY'),
]);

$result = $client->render([
    'name' => 'hello-world',
    'layers' => [
        ['type' => 'composition', 'width' => 1920, 'height' => 1080, 'fps' => 30],
    ],
], [
    'onProgress' => fn(string $status, float $progress) => printf("%s — %.0f%%\n", $status, $progress),
]);

echo $result->downloadUrl, PHP_EOL;

render() queues the job, polls until it completes, and returns a RenderResult with jobId, status, progress, url, downloadUrl, error, createdAt, and completedAt.

Authentication

Create an API key in your iLoveVideoEditor dashboard. Keys are prefixed with vf_live_ and are sent as the x-api-key header. Keep the key out of source control — read it from an environment variable:

$client = new iLoveVideoEditorClient([
    'apiKey' => getenv('ILOVEVIDEOEDITOR_API_KEY'),
]);

Documentation

Other official SDKs

License

MIT — see LICENSE.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-07-14

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固