Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Laravel image validate

 $this->validate($request, [
            'image' => 'required|image|mimes:jpeg,png,jpg,gif,svg|max:2048',
        ]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Laravel #image #validate
ADD COMMENT
Topic
Name
8+4 =