PHPackages                             stefanhuber/fakeimage - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. stefanhuber/fakeimage

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

stefanhuber/fakeimage
=====================

Generate fake images for testing or as placeholders

0.1.3(3y ago)13BSD-3-ClausePHP

Since Dec 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/stefanhuber/fakeimage)[ Packagist](https://packagist.org/packages/stefanhuber/fakeimage)[ RSS](/packages/stefanhuber-fakeimage/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (5)Used By (0)

FakeImage
=========

[](#fakeimage)

> Generate fake images for testing or as placeholders

API
---

[](#api)

### Random Generator

[](#random-generator)

Generate a random image with the following URL:

```
/random-{width}-{height}-{tile}.{extension}

```

ParamOptionalDescriptionwidthwidth in pixelsheightxheight in pixels, if omitted width is used to produce square imagetilextile size of random colors in generated image, 5 is default valueextensionxpng, jpg, jpeg or gif is supported#### Examples

[](#examples)

##### /random-400x300.jpg

[](#random-400x300jpg)

[![/random-400x300.jpg](./docs/random-400x300.jpg)](./docs/random-400x300.jpg)

##### /random-400x300x25.jpg

[](#random-400x300x25jpg)

[![/random-400x300x25.jpg](./docs/random-400x300x25.jpg)](./docs/random-400x300x25.jpg)

##### /random-200.jpg

[](#random-200jpg)

[![/random-400x300.jpg](./docs/random-200.jpg)](./docs/random-200.jpg)

Run
---

[](#run)

### Local PHP webserver

[](#local-php-webserver)

```
composer install
php -S localhost:9000 -t ./public ./config/server.php

```

### Docker

[](#docker)

```
docker run -it --rm -p 9000:9000 stefanhuber/fakeimage

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Total

4

Last Release

1397d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5379359?v=4)[Stefan Huber](/maintainers/stefanhuber)[@stefanhuber](https://github.com/stefanhuber)

---

Top Contributors

[![stefanhuber](https://avatars.githubusercontent.com/u/5379359?v=4)](https://github.com/stefanhuber "stefanhuber (1 commits)")

---

Tags

fakerfaker-generatorfaker-image

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[phlak/directory-lister

PHP directory lister

2.5k1.4k](/packages/phlak-directory-lister)[showdoc/showdoc

ShowDoc is a tool greatly applicable for an IT team to share documents online

12.8k7.1k](/packages/showdoc-showdoc)[moodle/moodle

Moodle - the world's open source learning platform

7.2k88.5k71](/packages/moodle-moodle)[oat-sa/tao-core

TAO core extension

66143.7k120](/packages/oat-sa-tao-core)[brandembassy/slim-nette-extension

19201.2k](/packages/brandembassy-slim-nette-extension)[duxweb/dux-lite

The lightweight framework based on slim php

161.0k9](/packages/duxweb-dux-lite)

PHPackages © 2026

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