Laravel provides some very usefull methods to validate date before or after to a given date.
The field under validation must be a value after a given date. The dates will be passed into the strtotime
PHP function
The field under validation must be a value after or equal to the given date. For more information, see the after rule.
The field under validation must be a value preceding the given date. The dates will be passed into the PHP strtotime
function.
The field under validation must be a value preceding or equal to the given date. The dates will be passed into the PHP strtotime
function.
For all laravel date validation rules please check https://www.magutti.com/blog/lavavel-date-validation