how get file size in laravel

33

how to get the size of an uploaded file in laravel -

use Illuminate\Support\Facades\Storage;

$size = Storage::size('public/'.$picture->filename');

Comments

Submit
0 Comments