satoritech44/upload-files

Service for upload files and delete them

1.0.0 2023-08-04 04:40 UTC

This package is auto-updated.

Last update: 2025-07-04 08:58:36 UTC


README

Use when you want to upload an image or file and get url

Use in Controller

  • Add use
use Satoritech44\UploadFiles\UploadFiles;
  • inside method
    $file=$request->file('img');
    if (isset($file)){
    $url=UploadFiles::storeFile($file,'id','path','projectName');
    }