Download the PHP package renderingvideo/sdk without Composer

On this page you can find all versions of the php package renderingvideo/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sdk

RenderingVideo PHP SDK

Official PHP SDK for the RenderingVideo API - a powerful video rendering and generation service.

API updates in 1.1.1

Use your own sk-... API key from Settings → API Keys. This public SDK accesses resources owned by that account. Administrator Agent Access is internal and is not part of this SDK.

Requires PHP 8.1+.

Task creation accepts title, category, and metadata. Listing defaults to category api; category=all includes website tasks owned by the same account. Preview conversion and rendering preserve metadata. Render quality follows schema dimensions. See API reference.

Release 1.1.1 removes the administrator authentication and context/audit clients mistakenly included in 1.1.0. Ordinary user API-key calls and the enhanced video APIs remain supported.

Cross-language integration checks run from the website checkout with RENDERINGVIDEO_SDK_ROOT=/absolute/path/to/renderingvideo-clients pnpm exec tsx --test scripts/sdk-contract.test.ts. They use local HTTP fixtures without production credentials or paid renders.

Installation

Install via Composer:

Quick Start

Authentication

Get your API key from Settings > API Keys.

Usage

Video Tasks

Create a Video Task

List Video Tasks

Get Task Details

Trigger Rendering

Wait for Completion

Delete a Task

File Uploads

Upload Files

Upload from Content

List Files

Delete a File

Preview Links

Create a Preview

Get Preview Config

Convert Preview to Permanent Task

Convert and Render Immediately

Delete Preview

Credits

Check Balance

Calculate Cost

Check Affordability

Error Handling

Error Codes

Code Exception Description
MISSING_API_KEY AuthenticationException No API key provided
INVALID_API_KEY AuthenticationException Invalid or revoked API key
INSUFFICIENT_CREDITS InsufficientCreditsException Not enough credits
NOT_FOUND NotFoundException Resource not found
INVALID_CONFIG ValidationException Invalid video configuration
ALREADY_RENDERING ValidationException Task is already rendering

Webhook Notifications

When rendering completes or fails, the webhook URL receives a POST request:

Credit Calculation

Credits are calculated as:

Quality Short Edge Multiplier
720p ≥720px 1.0
1080p ≥1080px 1.5
2K ≥1440px 2.0

Development

Run Tests

Code Style

License

MIT License. See LICENSE for details.

Support


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
guzzlehttp/guzzle Version ^7.5
psr/http-client-implementation Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package renderingvideo/sdk contains the following files

Loading the files please wait ...