get size of file in laravel code example
Example 1: how get file size in laravel
$size = $request->file("image")->getSize();
Example 2: how to get the size of an uploaded file in laravel
use Illuminate\Support\Facades\Storage;
$size = Storage::size('public/'.$picture->filename');