📅  最后修改于: 2022-03-11 14:54:27.246000             🧑  作者: Mango
代码示例2
[
'from' => ['required', 'date_format:Y-m-d', 'before_or_equal:to'],
'to' => ['required', 'date_format:Y-m-d']
]
//@sujay