file size validation must be less than 200 kb in php code example
Example: laravel validate max file size
$validator = Validator::make($request->all(), [
'file' => 'max:500000',
]);
$validator = Validator::make($request->all(), [
'file' => 'max:500000',
]);