Validation de l'image Laravel
'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
Optimus Grind
'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
$this->validate($request, ['file' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048',]);
$validate = Validator::make($params = $request->all(), [
'type' => 'required',
'files' => 'mimes:jpeg,png,jpg,svg,doc,docx,odt,pdf,tex,txt,wpd,tiff,tif,csv,psd,key,odp,pps,ppt,pptx,ods,xls,xlsm,xlsx'
]);