could someone show me how to get the :other or :after_field to display in the error message.
$messages = ["after_field" => "The :attribute must be greater than the :other."];
validation rule:
$rules = ['sale_end' => 'date|after_field:sale_start']
protected function validateAfterField($attribute, $value, $parameters)
{
return Carbon::parse($value) > Carbon::parse($this->data[$parameters[0]]);
}