LaravelPackages.net
Acme Inc.
Toggle sidebar
alareqi/laravel-blurhashable

This is my package laravel-blurhashable

11
0
v1.0.0
About alareqi/laravel-blurhashable

alareqi/laravel-blurhashable is a Laravel package for this is my package laravel-blurhashable. It currently has 0 GitHub stars and 11 downloads on Packagist (latest version v1.0.0). Install it with composer require alareqi/laravel-blurhashable. Discover more Laravel packages by alareqi or browse all Laravel packages to compare alternatives.

Last updated

This is my package laravel-blurhashable

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Handle image blurhash automatically with minimum configurations

Installation

You can install the package via composer:

composer require alareqi/laravel-blurhashable

just add the $blurhashable array to model

use Alareqi\LaravelBlurhashable\Traits\HasBlurhash;

class Project extends Model
{
    use HasBlurhash;
    protected $fillable = [
        'id',
        'name',
        'description',
        'image',
        'image_blurhash',
        'mobile_image',
        'mobile_image_blurhash',
        'type',
        'url',
        'status'
    ];

    protected $blurhashable = [
        'image' => 'image_blurhash',
        'mobile_image' => 'mobile_image_blurhash'
    ];

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

Comments