PHPackages                             bepsvpt/blurhash - 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. bepsvpt/blurhash

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

bepsvpt/blurhash
================

A PHP implementation of BlurHash with Laravel integration.

4.1.0(4mo ago)131302.5k↓17.8%106MITPHPPHP ^8.0CI failing

Since Aug 4Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/bepsvpt/blurhash)[ Packagist](https://packagist.org/packages/bepsvpt/blurhash)[ Docs](https://github.com/bepsvpt/blurhash)[ RSS](/packages/bepsvpt-blurhash/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (17)Versions (14)Used By (6)

BlurHash
========

[](#blurhash)

[![Testing](https://github.com/bepsvpt/blurhash/actions/workflows/testing.yml/badge.svg)](https://github.com/bepsvpt/blurhash/actions/workflows/testing.yml)[![Latest Stable Version](https://camo.githubusercontent.com/8874d79ecc3d86bb0d7e7f8089c7d186e3059750de1d46f57a9bff92523d9878/68747470733a2f2f706f7365722e707567782e6f72672f626570737670742f626c7572686173682f762f737461626c65)](https://packagist.org/packages/bepsvpt/blurhash)[![Total Downloads](https://camo.githubusercontent.com/3af3add1d2580966e9c2fd10d770472e85ed7aebe1812d0702d5726cedd5e593/68747470733a2f2f706f7365722e707567782e6f72672f626570737670742f626c7572686173682f646f776e6c6f616473)](https://packagist.org/packages/bepsvpt/blurhash)[![License](https://camo.githubusercontent.com/6d71c61d29051f30e3f35edf58d189aced82b9c0fe9cabb28813c05c5794fb22/68747470733a2f2f706f7365722e707567782e6f72672f626570737670742f626c7572686173682f6c6963656e7365)](https://packagist.org/packages/bepsvpt/blurhash)

A PHP implementation of [BlurHash](https://github.com/woltapp/blurhash) with Laravel integration.

BlurHash is a compact representation of a placeholder for an image.

[![screenshot](https://raw.githubusercontent.com/bepsvpt/blurhash/main/screenshot.png)](https://raw.githubusercontent.com/bepsvpt/blurhash/main/screenshot.png)

Nr8%YLkDR4j\[aej\]NSaznzjuk9ayR3jYofayj\[f6

- [Version](#version)
- [Installation](#installation)
- [Usage](#usage)
- [Changelog](#changelog)
- [Upgrade](#upgrade)
- [License](#license)

Version
-------

[](#version)

4.1.0

### Supported Laravel Version

[](#supported-laravel-version)

8.0 ~ 13.x

Installation
------------

[](#installation)

Install using composer

```
composer require bepsvpt/blurhash
```

Publish config file

```
php artisan vendor:publish --provider="Bepsvpt\Blurhash\BlurHashServiceProvider"
```

Set up config file on config/blurhash.php

Done!

Usage
-----

[](#usage)

### Facade

[](#facade)

```
BlurHash::encode($path);
```

`$file` can be `UploadedFile` or a file path string.

### app helper function

[](#app-helper-function)

```
app('blurhash')
  ->setComponentX(7)
  ->setComponentY(4)
  ->setMaxSize(96)
  ->encode(request('file'));
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for details.

Upgrade
-------

[](#upgrade)

Please see [UPGRADE](UPGRADE.md) for details.

License
-------

[](#license)

BlurHash is licensed under [The MIT License (MIT).](LICENSE.md)

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance76

Regular maintenance activity

Popularity51

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 95.7% 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 ~170 days

Recently: every ~191 days

Total

13

Last Release

129d ago

Major Versions

0.0.3 → 1.0.02020-12-12

1.0.1 → 2.0.02022-07-02

2.1.1 → 3.0.02024-02-09

3.0.1 → 4.0.02025-03-16

PHP version history (3 changes)0.0.1PHP ^7.2

1.0.0PHP ^7.2 || ^8.0

2.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2992b53ce2e5b5f0939ba8120aa411900c574f324d682d38a33aae9094c32e3c?d=identicon)[bepsvpt](/maintainers/bepsvpt)

---

Top Contributors

[![bepsvpt](https://avatars.githubusercontent.com/u/8221099?v=4)](https://github.com/bepsvpt "bepsvpt (110 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (2 commits)")[![BenMorel](https://avatars.githubusercontent.com/u/1952838?v=4)](https://github.com/BenMorel "BenMorel (1 commits)")[![DaniTulp](https://avatars.githubusercontent.com/u/18421761?v=4)](https://github.com/DaniTulp "DaniTulp (1 commits)")[![jeffreyvanhees](https://avatars.githubusercontent.com/u/8754630?v=4)](https://github.com/jeffreyvanhees "jeffreyvanhees (1 commits)")

---

Tags

blurhashlaravellaravel-packagephplaravelblurhash

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/bepsvpt-blurhash/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[renatomarinho/laravel-page-speed

Laravel Page Speed

2.5k1.7M11](/packages/renatomarinho-laravel-page-speed)[vinkius-labs/laravel-page-speed

Laravel Page Speed

2.5k12.5k1](/packages/vinkius-labs-laravel-page-speed)[emargareten/inertia-modal

Inertia Modal is a Laravel package that lets you implement backend-driven modal dialogs for Inertia apps.

90142.9k](/packages/emargareten-inertia-modal)[wearepixel/laravel-cart

A cart implementation for Laravel

1374.8k](/packages/wearepixel-laravel-cart)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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