Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

validate year laravel

'year' => 'required|digits:4|integer|min:1900|max:'.(date('Y')+1),
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #validate #year #laravel
ADD COMMENT
Topic
Name
1+5 =