Answers for "laravel validation file image"

PHP
6

laravel image validation

'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
Posted by: Guest on May-30-2020
1

image validate in laravel validater

$this->validate($request, ['file' => 'image|mimes:jpeg,png,jpg,gif,svg|max:2048',]);
Posted by: Guest on October-20-2020
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 "laravel validation file image"

Browse Popular Code Answers by Language