📜  在 laravel 日期持续时间验证规则 - PHP 代码示例

📅  最后修改于: 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