SyntaxFix
Write A Post
Hire A Developer
Questions
According to the documentation:
$validator = Validator::make($request->all(), [ 'file' => 'max:500000', ]);
The value is in kilobytes. I.e. max:10240 = max 10 MB.
max:10240