Answers for "how to get file size while uploading file in laravel"

PHP
0

how to get the size of an uploaded file in laravel

use Illuminate\Support\Facades\Storage;

$size = Storage::size('public/'.$picture->filename');
Posted by: Guest on December-22-2020
-1

laravel get file size uploaded

$size = $request->file('file')->getClientSize();
Posted by: Guest on November-21-2020

Code answers related to "how to get file size while uploading file in laravel"

Browse Popular Code Answers by Language