DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
validation file type laravel
$request->validate([ 'file' => 'required|mimes:png,jpg,jpeg,csv,txt,xlx,xls,pdf|max:2048' ]);
Source by www.nicesnippets.com #
PREVIOUS
NEXT
Tagged:
#validation
#file
#type
#laravel
ADD COMMENT
Topic
COMMENT
Name
1+3 =
Submit