I want to validate two date fields in a form which is from_date and end_date. Need to check from_date is less than end_date.
$rules = array(\'from_date\' => a
Please use the below code in laravel 5.2 and it works fine for validating start and end date.
$this->validate($request, [ 'start_date' => 'required|before:end_date', 'end_date' => 'required', ]);