📅  最后修改于: 2022-03-11 14:54:28.535000             🧑  作者: Mango
$validator = Validator::make($data, [
'start_date' => 'required|date',
'end_date' => 'required|date|after_or_equal:start_date',
]);