PHPackages                             strattegic/placeimgr - 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. strattegic/placeimgr

ActiveLibrary

strattegic/placeimgr
====================

A simple way to have great working placeholders in your Laravel application. No matter if you are developing on- or offline.

13PHP

Since Nov 10Pushed 7y ago1 watchersCompare

[ Source](https://github.com/Strattegic/PlaceImgr)[ Packagist](https://packagist.org/packages/strattegic/placeimgr)[ RSS](/packages/strattegic-placeimgr/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

PlaceImgr
=========

[](#placeimgr)

A simple library to get placeholder images in Laravel.

Currently it only supports Blade directives.

```
// creates an  tag with the dimensions 500x400
@placeimgr(500,400)

// prints only the url for the placeholder (useful when you want to take care of the img tag yourself)
@placeimgr_url(500,400)
```

### Configure the placeholder image service

[](#configure-the-placeholder-image-service)

You can change the default placeholder image service by setting it in the config. For that you need to publish the config first.

```
php artisan vendor:publish
```

After you published the PlaceImgr config you can change the **placeholder-service** value.

```
// see the actual config for more placeholder services
'placeholder-service' => 'placecage'
```

### Using the Cache

[](#using-the-cache)

The cache saves the images from the placeholder services so you don't have to reload them everytime you reload the app.

The internal cache utilizes the Laravel Storage facade. It uses the 'local' disk. Because of this, the storage/public and your public application folders need to be linked. For further information see

```
// you need to run this command to link the storage/public folder and your /public folder
php artisan storage:link

// after that you can enable the cache in the placeimgr.php config
'cache' => true
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/d7a56186fcce108626ba760d95ee2e65d51706ee78b25113c03321e966806b38?d=identicon)[Strattegic](/maintainers/Strattegic)

---

Top Contributors

[![Strattegic](https://avatars.githubusercontent.com/u/9786993?v=4)](https://github.com/Strattegic "Strattegic (7 commits)")

### Embed Badge

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

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

PHPackages © 2026

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