PHPackages                             creatomate/creatomate - 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. creatomate/creatomate

ActiveLibrary[API Development](/categories/api)

creatomate/creatomate
=====================

Official PHP SDK for the Creatomate video rendering API

1.1.0(1y ago)514.7k↓23.1%3[1 PRs](https://github.com/Creatomate/creatomate-php/pulls)MITPHPPHP &gt;=7.1.0

Since Nov 6Pushed 1y agoCompare

[ Source](https://github.com/Creatomate/creatomate-php)[ Packagist](https://packagist.org/packages/creatomate/creatomate)[ RSS](/packages/creatomate-creatomate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Creatomate PHP Library
======================

[](#creatomate-php-library)

Create videos and images from your PHP application!

[Creatomate](https://creatomate.com) is a media generation API for editing and rendering videos and images using code. The platform uses a JSON format to specify how a **MP4, GIF, JPEG or PNG** should be generated. It's all handled by Creatomate's render farm, so you don't have to worry about server infrastructure.

This library makes working with the Creatomate API even easier by providing a well-structured, lightweight interface. With just a few lines of code, you can create hundreds, even thousands, of dynamic videos and images.

As an alternative to creating everything from code, Creatomate also comes with an online video editor to create reusable templates. These templates can then be rendered with custom and personalized data using this PHP library. Check out [Creatomate.com](https://creatomate.com) to learn more.

Usage
-----

[](#usage)

Examples of how to use this library can be found at: . For general information about the Creatomate API, check out the [Creatomate API docs](https://creatomate.com/docs/api/introduction).

### Installation

[](#installation)

Install `creatomate` into your PHP project with the following command:

```
composer require creatomate/creatomate
```

### Quick example

[](#quick-example)

You build up your video or image with elements (*videos, images, texts, shapes, compositions*), which can then be animated by using keyframes and transitions. A basic implementation looks like this. Here, two videos are concatenated together with a text overlay:

```
