PHPackages                             tada-tsu/gd-contents-generator - 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. tada-tsu/gd-contents-generator

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

tada-tsu/gd-contents-generator
==============================

make contents image used GD (PHP Library)

0.2.2(7y ago)0670Apache-2.0PHPPHP ^7.1

Since Dec 28Pushed 7y agoCompare

[ Source](https://github.com/tada-tsu/gd-contents-generator)[ Packagist](https://packagist.org/packages/tada-tsu/gd-contents-generator)[ RSS](/packages/tada-tsu-gd-contents-generator/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)DependenciesVersions (11)Used By (0)

GD Contents Generator
=====================

[](#gd-contents-generator)

install
-------

[](#install)

```
composer require tada-tsu/gd-contents-generator

```

usage
-----

[](#usage)

```
# Create color object

$color1 = new GDContentsGenerator\Color(0, 0, 0, true); // black background, white text

$color2 = new GDContentsGenerator\Color(255, 255, 255); // white background, black text

# Create generator instance

$generator1 = new GDContentsGenerator\Generator(
    $color1,
    'path/to/image'
);

$generator2 = new GDContentsGenerator\Generator(
    $color2,
    'path/to/image'
);

# Save or return result

$generator1->drawDetails("top text", "bottom text", "left text")
    ->generateContentsImage()
    ->save("sample.png"); // save image

$generator2>drawDetails("top text", "bottom text", "left text")
    ->generateContentsImage();

$result = $generator2->generate(); // return result image resource

$result = $generator2->generate('jpg'); // return result image binary
$result = $generator2->generate('png'); // return result image binary
$result = $generator2->generate('gif'); // return result image binary
$result = $generator2->generate('webp'); // return result image binary

```

sample
------

[](#sample)

```
php sample.php
open sample.png

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

Total

10

Last Release

2658d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ccc270b58fa1979261a8ca6726ef92c7b8f6f1a1b62b504a1b557ba03c067905?d=identicon)[tada-tsu](/maintainers/tada-tsu)

---

Top Contributors

[![tada-tsu](https://avatars.githubusercontent.com/u/34794025?v=4)](https://github.com/tada-tsu "tada-tsu (11 commits)")

### Embed Badge

![Health badge](/badges/tada-tsu-gd-contents-generator/health.svg)

```
[![Health](https://phpackages.com/badges/tada-tsu-gd-contents-generator/health.svg)](https://phpackages.com/packages/tada-tsu-gd-contents-generator)
```

###  Alternatives

[milon/barcode

Barcode generator like Qr Code, PDF417, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, 2-Digits UPC-Based Extention, 5-Digits UPC-Based Extention, EAN 8, EAN 13, UPC-A, UPC-E, MSI (Variation of Plessey code)

1.5k13.3M39](/packages/milon-barcode)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k23](/packages/bkwld-croppa)[char0n/ffmpeg-php

PHP wrapper for FFmpeg application

495225.1k1](/packages/char0n-ffmpeg-php)[goat1000/svggraph

Generates SVG graphs

132849.6k3](/packages/goat1000-svggraph)[cohensive/embed

Media Embed (for Laravel or as a standalone).

120370.4k](/packages/cohensive-embed)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)

PHPackages © 2026

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