PHPackages                             daun/statamic-placeholders - 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. daun/statamic-placeholders

ActiveStatamic-addon[Image &amp; Media](/categories/media)

daun/statamic-placeholders
==========================

Generate low-quality image placeholders for lazyloading Statamic assets

4.1.0(1mo ago)106.6k↓16.7%3MITPHPPHP ^8.2CI passing

Since Mar 23Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/daun/statamic-placeholders)[ Packagist](https://packagist.org/packages/daun/statamic-placeholders)[ RSS](/packages/daun-statamic-placeholders/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (23)Versions (21)Used By (0)

Statamic Placeholder Images
===========================

[](#statamic-placeholder-images)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4669b1eb9140560179c2a052f2ebc9df8e0833a2bdbfe38884bed7d867a6163c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461756e2f73746174616d69632d706c616365686f6c646572732e737667)](https://packagist.org/packages/daun/statamic-placeholders)[![Test Status](https://camo.githubusercontent.com/bf22fb90a5e210fe27d69170055bc30e78568c817855c58b137864143a2ac7a8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6461756e2f73746174616d69632d706c616365686f6c646572732f63692e796d6c3f6c6162656c3d7465737473)](https://github.com/daun/statamic-placeholders/actions/workflows/ci.yml)[![Code Coverage](https://camo.githubusercontent.com/69b61160b0d18999fbd1d12e3d9617291f9f8bd04170c56c18e630fe0be11b46/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6461756e2f73746174616d69632d706c616365686f6c64657273)](https://app.codecov.io/gh/daun/statamic-placeholders)[![License](https://camo.githubusercontent.com/d09ce819b96f5ca5834baab5ca9396206bdd3852d70db8190c01cdf939017a7a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6461756e2f73746174616d69632d706c616365686f6c646572732e737667)](https://github.com/daun/statamic-placeholders/blob/master/LICENSE)

**Generate image placeholders of Statamic assets for smoother lazyloading.**

[![Example image placeholders](art/example-placeholder.png)](art/example-placeholder.png)

Low-Quality Image Placeholders (LQIP) improve the perceived performance of sites by showing a small blurry placeholder image while the high-quality version is loading and are often used in combination with progressive lazyloading.

Features
--------

[](#features)

- Create blurry image placeholders for assets
- Choose between ThumbHash, BlurHash, and Average Color placeholders
- Generate placeholders on upload, or optionally on demand
- Console commands for batch generation

How It Works
------------

[](#how-it-works)

The addon ships with a **Placeholder Image** fieldtype and will automatically generate a small blurry placeholder image for each asset with this fieldtype in its blueprint. In your frontend views, you can access the image placeholder as a data URI string to display while the high-quality image is loading.

Quick Start
-----------

[](#quick-start)

1. Install using `composer require daun/statamic-placeholders`
2. Add a `placeholder` field to your asset blueprint → `assets.yaml`
3. Display placeholder data uris using the `{{ placeholder }}` field inside an `{{ asset }}` tag

Documentation
-------------

[](#documentation)

Read the [documentation](./DOCUMENTATION.md) for a detailed guide to setting up and configuring the addon.

License
-------

[](#license)

[MIT](https://opensource.org/licenses/MIT)

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance89

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 99.5% 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 ~52 days

Recently: every ~132 days

Total

15

Last Release

55d ago

Major Versions

1.0.1 → 2.0.02024-04-29

2.1.1 → 3.0.02024-10-13

3.1.0 → 4.0.02026-02-08

PHP version history (2 changes)1.0.0PHP ^8.1

4.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/31ac2b3787ded290b6bac87b937abf4f267483e4da64731bfb256a942bb669ca?d=identicon)[daun](/maintainers/daun)

---

Top Contributors

[![daun](https://avatars.githubusercontent.com/u/22225348?v=4)](https://github.com/daun "daun (210 commits)")[![aerni](https://avatars.githubusercontent.com/u/23167701?v=4)](https://github.com/aerni "aerni (1 commits)")

---

Tags

blurhashimagelazyloadinglqipplaceholderstatamicstatamic-addonthumbhashimageplaceholderstatamicblurhashlazyloadinglqipthumbhash

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/daun-statamic-placeholders/health.svg)

```
[![Health](https://phpackages.com/badges/daun-statamic-placeholders/health.svg)](https://phpackages.com/packages/daun-statamic-placeholders)
```

###  Alternatives

[daun/statamic-mux

Seamless video encoding and streaming using Mux on Statamic sites

132.3k](/packages/daun-statamic-mux)[sitegeist/sms-responsive-images

Provides ViewHelpers and configuration to render valid responsive images based on TYPO3's image cropping tool.

34493.1k2](/packages/sitegeist-sms-responsive-images)[spacecatninja/imager-x

Ninja powered image transforms.

29390.0k23](/packages/spacecatninja-imager-x)[visuellverstehen/statamic-picturesque

A Statamic tag for building HTML-only responsive images.

1016.9k](/packages/visuellverstehen-statamic-picturesque)[sadovojav/yii2-image-thumbnail

Yii2 image thumbnail component

2142.1k](/packages/sadovojav-yii2-image-thumbnail)[justbetter/statamic-image-optimize

Image optimization after upload

1315.2k](/packages/justbetter-statamic-image-optimize)

PHPackages © 2026

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