Laravel Date Règle il y a 18 ans
public function rules()
{
return
[
...
'issued_date' => [
'required',
'date_format:' . config('panel.date_format'),
'after:-18 years'
],
...
];
}
Snippets