You can install the package via Composer.
composer require ahmedtaha/laravel-file-uploader
- 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