Answers for "only image upload validation in laravel"

PHP
1

laravel validation image or file

$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'
]);
Posted by: Guest on May-11-2021

Code answers related to "only image upload validation in laravel"

Browse Popular Code Answers by Language