PHPackages                             emanueleminotto/faker-placehold-it-provider - 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. emanueleminotto/faker-placehold-it-provider

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

emanueleminotto/faker-placehold-it-provider
===========================================

placehold.it provider for Faker

1.0.0(11y ago)1423.5k11MITPHP

Since Jan 30Pushed 10y ago1 watchersCompare

[ Source](https://github.com/EmanueleMinotto/PlaceholdItProvider)[ Packagist](https://packagist.org/packages/emanueleminotto/faker-placehold-it-provider)[ RSS](/packages/emanueleminotto-faker-placehold-it-provider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (1)

PlaceholdIt Provider
====================

[](#placeholdit-provider)

[![Build Status](https://camo.githubusercontent.com/0b3d6320a31ef4c1646f30be7fcb7bceaadd32ad34b98a41c04db61439e30eaa/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f456d616e75656c654d696e6f74746f2f506c616365686f6c64497450726f76696465722e7376673f7374796c653d666c6174)](https://travis-ci.org/EmanueleMinotto/PlaceholdItProvider)[![SensioLabs Insight](https://camo.githubusercontent.com/61320d2bbf57d894a06e8c2d165c56066a80b141c9ebc84a43c8a213776239dc/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f61323265353530392d636134662d343930322d613435382d3539393431323363303538662e7376673f7374796c653d666c6174)](https://insight.sensiolabs.com/projects/a22e5509-ca4f-4902-a458-5994123c058f)[![Coverage Status](https://camo.githubusercontent.com/c1e6b0cf86eb6ea05931d3176e02e4db2c3de145e9c67213640a84814375f948/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f456d616e75656c654d696e6f74746f2f506c616365686f6c64497450726f76696465722e7376673f7374796c653d666c6174)](https://coveralls.io/r/EmanueleMinotto/PlaceholdItProvider)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/34089d43b63ba90c5349e6799beb3e0bfa0379e24449fbb08f058588bdd4c984/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f456d616e75656c654d696e6f74746f2f506c616365686f6c64497450726f76696465722e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/EmanueleMinotto/PlaceholdItProvider/)[![Total Downloads](https://camo.githubusercontent.com/90c362f89e3d9e9895b804e891251b8f8a9b0d78d0c09468ac9bf8770bcc6a1e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f656d616e75656c656d696e6f74746f2f66616b65722d706c616365686f6c642d69742d70726f76696465722e7376673f7374796c653d666c6174)](https://packagist.org/packages/emanueleminotto/faker-placehold-it-provider)

[placehold.it](http://placehold.it/) provider for [Faker](https://github.com/fzaninotto/Faker).

API: [emanueleminotto.github.io/PlaceholdItProvider](http://emanueleminotto.github.io/PlaceholdItProvider/)

Install
-------

[](#install)

Install Silex using [Composer](http://getcomposer.org/).

Install the PlaceholdItProvider adding `emanueleminotto/faker-placehold-it-provider` to your composer.json or from CLI:

```
$ composer require emanueleminotto/faker-placehold-it-provider

```

Usage
-----

[](#usage)

```
$faker = Faker\Factory::create();
$faker->addProvider(new EmanueleMinotto\Faker\PlaceholdItProvider($faker));

// size
$url = $faker->imageUrl(50); // http://placehold.it/50.gif
$url = $faker->imageUrl('50x100'); // http://placehold.it/50x100.gif
$url = $faker->imageUrl(array(50, 100)); // http://placehold.it/50x100.gif
$url = $faker->imageUrl(array('w' => 100, 'h' => 50)); // http://placehold.it/50x100.gif

// format
// can be gif, jpeg, jpg or png
$url = $faker->imageUrl(50); // http://placehold.it/50.gif
$url = $faker->imageUrl(50, 'jpeg'); // http://placehold.it/50.jpeg
$url = $faker->imageUrl(50, 'jpg'); // http://placehold.it/50.jpg
$url = $faker->imageUrl(50, 'png'); // http://placehold.it/50.png

// colors
$url = $faker->imageUrl(50, null, array('000', 'fff')); // http://placehold.it/50.gif/000/fff
$url = $faker->imageUrl(50, null, array('w' => 100, 'h' => 100)); // http://placehold.it/50.gif/000/fff

// text
$url = $faker->imageUrl(50, null, array(), 'lorem ipsum'); // http://placehold.it/50.gif?text=lorem+ipsum
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

4120d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30b6fbd038f22a54716027eb7ce30c6cafd8e59c138ae58b3c2516c34ccfef7f?d=identicon)[EmanueleMinotto](/maintainers/EmanueleMinotto)

---

Top Contributors

[![EmanueleMinotto](https://avatars.githubusercontent.com/u/417201?v=4)](https://github.com/EmanueleMinotto "EmanueleMinotto (10 commits)")

---

Tags

fakerproviderplaceholder

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/emanueleminotto-faker-placehold-it-provider/health.svg)

```
[![Health](https://phpackages.com/badges/emanueleminotto-faker-placehold-it-provider/health.svg)](https://phpackages.com/packages/emanueleminotto-faker-placehold-it-provider)
```

###  Alternatives

[bheller/images-generator

Generator of placeholder images for Faker

573.1M3](/packages/bheller-images-generator)[mmo/faker-images

Different images provider for Faker

59370.3k6](/packages/mmo-faker-images)[bluemmb/faker-picsum-photos-provider

picsum.photos provider for Faker

31225.7k1](/packages/bluemmb-faker-picsum-photos-provider)[aalaap/faker-youtube

Faker provider for generating fake YouTube video URLs

2288.6k](/packages/aalaap-faker-youtube)[hydreflab/jedi-faker

Faker extension for Star Wars junkie

1429.5k1](/packages/hydreflab-jedi-faker)[andrefigueira/blog-article-faker

Generate random blog article titles and content (including markdown) using faker

1415.0k](/packages/andrefigueira-blog-article-faker)

PHPackages © 2026

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