Download the PHP package iamriajul/thumbhash-laravel without Composer
On this page you can find all versions of the php package iamriajul/thumbhash-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download iamriajul/thumbhash-laravel
More information about iamriajul/thumbhash-laravel
Files in iamriajul/thumbhash-laravel
Package thumbhash-laravel
Short Description A PHP implementation of Thumbhash with Laravel integration.
License MIT
Homepage https://github.com/iamriajul/thumbhash-laravel
Informations about the package thumbhash-laravel
Thumbhash
A PHP implementation of Thumbhash with Laravel integration.
Thumbhash is a compact representation of a placeholder for an image.
XFYJhIooaHh6d3hweYuHgHoJmA
⚠️ I highly recommend to have Imagick extension installed on your computer. GD extension has only 7 bits of alpha channel resolution, and 127 is transparent, 0 opaque. While the library will still work, you may have different image between platforms. See on stackoverflow
Supported Laravel Version
9.0 ~ 11.x
Installation
Install using composer
Publish config file (Optional for )
Set up config file on config/thumbhash.php
Done!
Usage
Facade
$file
can be any Intervention make method acceptable source.
app helper function
TODO:
- [ ] Support decoding from thumbhash base64 string.
- [ ] Support encoding to thumbhash binary array.
- [ ] Support decoding from thumbhash binary array.
- [ ] Support encoding to dataURL.
License
Thumbhash is licensed under The MIT License (MIT).
All versions of thumbhash-laravel with dependencies
illuminate/support Version ^9.0 || ^10.0 || ^11.0
intervention/image Version ^3.8
srwiez/thumbhash Version ^1.2