bagaimana mendapatkan ukuran file di laravel
$size = $request->file("image")->getSize();
Drab Dugong
$size = $request->file("image")->getSize();
Laravel 5^
$request->file('file')->getSize();
Laravel 4
$request->file('file')->getClientSize(); // getClientSize() is deprecated in Laravel 5
use Illuminate\Support\Facades\Storage;
$size = Storage::size('public/'.$picture->filename');