Laravel memvalidasi ukuran file maks

$validator = Validator::make($request->all(), [
    'file' => 'max:500000',
]);
Clever Constrictor