PHPackages                             goldfinch/image-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. goldfinch/image-generator

ActiveProject

goldfinch/image-generator
=========================

Generate placeholder images with a specific size, color and text (optional).

v3.0.1(2y ago)02751MITPHPPHP &gt;=8.0

Since Mar 11Pushed 2y agoCompare

[ Source](https://github.com/goldfinch/image-generator)[ Packagist](https://packagist.org/packages/goldfinch/image-generator)[ RSS](/packages/goldfinch-image-generator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (1)

Image Generator
===============

[](#image-generator)

This package is intended to be used for quickly generating placeholder images with a specific size, color and text.

Requirements
------------

[](#requirements)

- PHP 8.0 or higher
- GD extension

Usage
-----

[](#usage)

Make sure you require this package in your composer.json:

```
composer require nicoverbruggen/image-generator

```

See [the example source file](examples/saved.php) that is used to generate and save the sample images. You can generate the following examples:

[![The barebones example](doc/examples/barebones.png)](doc/examples/barebones.png)[![A multiline example](doc/examples/multiline.png)](doc/examples/multiline.png)[![An avatar](doc/examples/avatar.png)](doc/examples/avatar.png)

Please note that for testing purposes, I used Roboto Black as the TrueType font. (This font is not included in this repository.)

You can also check out [the other source file](examples/direct.php). You can point your browser directly at this file (assuming you're running a PHP server, of course) and it will directly return a file since the path is set to `null`.

Notes
-----

[](#notes)

If you do not supply a TrueType font path:

- you will be limited in font size options (1 through 5)
- you will not be able to render multiline text

Contributions
-------------

[](#contributions)

I am not planning to expand the features of this package at this time. If you've made an improvement or fixed something, you are free to send me a pull request.

License
-------

[](#license)

MIT.

See also: [LICENSE](LICENSE).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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

788d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2291826?v=4)[goldfinch](/maintainers/goldfinch)[@goldfinch](https://github.com/goldfinch)

---

Top Contributors

[![nicoverbruggen](https://avatars.githubusercontent.com/u/3715845?v=4)](https://github.com/nicoverbruggen "nicoverbruggen (7 commits)")[![goldfinch](https://avatars.githubusercontent.com/u/2291826?v=4)](https://github.com/goldfinch "goldfinch (2 commits)")

### Embed Badge

![Health badge](/badges/goldfinch-image-generator/health.svg)

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

PHPackages © 2026

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