ahmedtaha/laravel-file-uploader

There is no license information available for the latest version (dev-master) of this package.

a PHP class which simplifies file uploading

dev-master 2022-06-13 18:29 UTC

This package is auto-updated.

Last update: 2024-05-13 22:22:25 UTC


README

Installation

You can install the package via Composer.

composer require ahmedtaha/laravel-file-uploader

Usage

  • To upload both [ Multipart - Base64 ] files .
use Ahmedtaha\FileUploader\Services\Concrete\FileUploader;

    // path example : 'storage/images/users'
    
    // width and height are optional 
    
    $filename =  FileUploader::getInstance()
                 ->setParams($file,$path,$width,$height)
                 ->upload();

#Follow me

github linkedin facebook twitter stackoverflow