['required', 'date', 'before_or_equal:end_date'], 'end_date' => ['required', 'date', 'after_or_equal:start_date'], ]; } public function messages(): array { return [ 'start_date.before_or_equal' => 'Start date must be before or equal to end date.', 'end_date.after_or_equal' => 'End date must be after or equal to start date.', ]; } }