Answers for "get file size and type on laravel upload"

PHP
2

how get file size in laravel

$size = $request->file("image")->getSize();
Posted by: Guest on May-21-2021
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

Code answers related to "get file size and type on laravel upload"

Browse Popular Code Answers by Language