LaravelPackages.net
Acme Inc.
Toggle sidebar
binarycabin/laravel-image

Simple integration for image uploading and linking

32
0
1.0.0
About binarycabin/laravel-image

binarycabin/laravel-image is a Laravel package for simple integration for image uploading and linking. It currently has 0 GitHub stars and 32 downloads on Packagist (latest version 1.0.0). Install it with composer require binarycabin/laravel-image. Discover more Laravel packages by binarycabin or browse all Laravel packages to compare alternatives.

Last updated

Laravel-Image

Simple integration for image uploading and linking

Example


public static function create(array $attributes = [])
    {
        $query = static::query();
        $model = $query->create($attributes);
        $model->postSave($attributes);
        return $model;
    }

    public function update(array $attributes = [], array $options = [])
    {
        $updateResponse = parent::update($attributes, $options);
        $this->postSave($attributes);
        return $updateResponse;
    }

    public function postSave(array $attributes = []){
        $this->attributesUpdateImage($attributes);
    }

Star History Chart