Blurhash
A PHP implementation of BlurHash with Laravel integration.
Install / Use
/learn @bepsvpt/BlurhashREADME
BlurHash
A PHP implementation of BlurHash with Laravel integration.
BlurHash is a compact representation of a placeholder for an image.

Version
4.1.0
Supported Laravel Version
8.0 ~ 13.x
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
Facade
BlurHash::encode($path);
$file can be UploadedFile or a file path string.
app helper function
app('blurhash')
->setComponentX(7)
->setComponentY(4)
->setMaxSize(96)
->encode(request('file'));
Changelog
Please see CHANGELOG for details.
Upgrade
Please see UPGRADE for details.
License
BlurHash is licensed under The MIT License (MIT).
Related Skills
node-connect
343.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
92.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
