Option values are keys and option names are values, you just have to construct an array like
$dates = [date("Y") => date("Y"), date("Y") + 1 => date("Y") + 1, date("Y") + 2 => date("Y") + 2, ...]
{{ Form::select('year', $dates ) }}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community