Multiple file validation when uploding pdf and image
Hi,
how to make validation if i upload two files, let's say pdf and image, and for image i want use max:400 and dimensions:min_width=300,min_height=300,max_width=1600, and for pdf max:8000.
Now i have : 'files.*' => 'required|file|max:400|dimensions:min_width=300,min_height=300,max_width=1600'