PHPackages                             copicake/copicake - 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. [Image &amp; Media](/categories/media)
4. /
5. copicake/copicake

ActiveLibrary[Image &amp; Media](/categories/media)

copicake/copicake
=================

Copicake, developer-first API and #NoCode tools to generate images on the fly

v1.0.1(3y ago)17MITPHP

Since Feb 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Copicake/copicake-php)[ Packagist](https://packagist.org/packages/copicake/copicake)[ RSS](/packages/copicake-copicake/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Copicake PHP
============

[](#copicake-php)

🍰 Copicake, a data-driven image generating service to let you generate any social media material with just ONE CLICK.

- 🔗 Website:
- 📘 Official API Docs:

Installations
=============

[](#installations)

```
composer require copicake
```

Usage
=====

[](#usage)

Initialization
--------------

[](#initialization)

```
use Copicake\Copicake;

$copicake = new Copicake("YOUR_API_KEY");
```

Image
-----

[](#image)

### Create an image

[](#create-an-image)

#### create(`mixed` $data)

[](#createmixed-data)

```
try {
  $response = $copicake->image->create([
    'template_id' => 'jfwrFJdR3z1eF8BcEhSnAFyhxgOq',
    'changes' => [
      ['name' => 'text-9so09m', 'text' => 'hello world', 'fill' => '#ff0000'],
      ['name' => 'image-yeavh7', 'src' => 'https://your_website.com/test.png'],
    ],
    'options' => [
      'webhook_url' => 'https://your_website.com/webhook_url'
    ]
  ]);
}
catch(Exception $exception) {
  var_dump($exception);
}
```

### Get an image

[](#get-an-image)

#### get(`string` $renderingId)

[](#getstring-renderingid)

```
try {
  $response = $copicake->image->get('YOUR_RENDERING_ID');
}
catch(Exception $exception) {
  var_dump($exception);
}
```

### Get an image (long polling)

[](#get-an-image-long-polling)

#### getUntilFinished(`string` $renderingId)

[](#getuntilfinishedstring-renderingid)

Sometimes you may notice that your image is still under processing state, this is because the image is still being processed in the background by our servers.

In this way, we provide another handy method called getUntilFinished() to get the image until the image is ready.

Internally, this is just a wrapper of get() method with built-in retry mechanism. If after MAX\_RETRY\_TIMES and the image is still under processing state, we will throw an exception to let you know.

```
try {
  $response = $copicake->image->getUntilFinished('YOUR_RENDERING_ID');
}
catch(Exception $exception) {
  var_dump($exception);
}
```

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~0 days

Total

2

Last Release

1293d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3139d92d938926c277bcdfc2a5317dfb751fd06c1821d027c9a779fe6670885e?d=identicon)[eragonj](/maintainers/eragonj)

---

Top Contributors

[![EragonJ](https://avatars.githubusercontent.com/u/68322?v=4)](https://github.com/EragonJ "EragonJ (6 commits)")[![semantic-release-bot](https://avatars.githubusercontent.com/u/32174276?v=4)](https://github.com/semantic-release-bot "semantic-release-bot (2 commits)")

---

Tags

copicakephpphp-library

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/copicake-copicake/health.svg)

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

###  Alternatives

[goat1000/svggraph

Generates SVG graphs

135931.0k3](/packages/goat1000-svggraph)[stefangabos/zebra_image

A single-file, lightweight PHP library designed for efficient image manipulation featuring methods for modifying images and applying filters

138121.6k7](/packages/stefangabos-zebra-image)[treinetic/imageartist

ImageArtist is a php gd Wrapper which makes Image manipulation insanely easy, we introduce ImageArtist as Photoshop for php

8783.2k](/packages/treinetic-imageartist)[allyans3/steam-market-api-v2

Steam Market API v2

2077.6k](/packages/allyans3-steam-market-api-v2)[johncarter/filament-focal-point-picker

An image focal point picker for Filament Admin.

4431.7k1](/packages/johncarter-filament-focal-point-picker)[yk/laravel-ocr

A wrapper for gocr.

1356.6k](/packages/yk-laravel-ocr)

PHPackages © 2026

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