Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel validate file type

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