How do I go about validating an array of uploaded files in Laravel 4? I\'ve set it in the form to allow multiple files, and I\'ve tested that the files exist in the Input::file(
It might not be the direct answer for your question, but you can do a simple validation check on types like this:
$file = Input::file('files'); switch($file->getClientMimeType()){ case 'application/pdf': // upload stuff break; }