A PHP implementation of BlurHash with Laravel integration.
bepsvpt/blurhash is a Laravel package for a php implementation of blurhash with laravel integration..
It currently has 130 GitHub stars and 298.211 downloads on Packagist (latest version 4.1.0).
Install it with composer require bepsvpt/blurhash.
Discover more Laravel packages by bepsvpt
or browse all Laravel packages to compare alternatives.
Last updated
A PHP implementation of BlurHash with Laravel integration.
BlurHash is a compact representation of a placeholder for an image.

Nr8%YLkDR4j[aej]NSaznzjuk9ayR3jYofayj[f6
4.1.0
8.0 ~ 13.x
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!
BlurHash::encode($path);
$file can be UploadedFile or a file path string.
app('blurhash')
->setComponentX(7)
->setComponentY(4)
->setMaxSize(96)
->encode(request('file'));
Please see CHANGELOG for details.
Please see UPGRADE for details.
BlurHash is licensed under The MIT License (MIT).