Suppose you want to verify whether the date field is between a certain date and today. What is the simplest way to write verification rules?
Example: $rule = [
'birthday' => 'after:1940-1-1|before:today',
];
How should "today" in the rules be obtained and inserted into the rules?
The purpose of my question is whether it is possible to insert a custom variable or function into the "today" position?