表单 html :

<input type="file" class="form-control-file" name="attachments[]" multiple>

表单验证:

public function store(Request $request)
{
  $request->validate([
    'attachments' => 'required',
    'attachments.*' => 'image'
  ]);

  //表单验证通过后的逻辑代码
}