Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

How to validate a file type in laravel

'image' => 'required|mimes:jpeg'
  //or
'image' => 'required|image'
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #validate #file #type #laravel
ADD COMMENT
Topic
Name
8+4 =