As in documentation here
When creating a custom validation rule, you may sometimes need to define custom place-holder replacements for error messages. You may do so by creating a custom Validator as described above, and adding a replaceXXX function to the validator.
Then you have to create replacer function inside your custom validator class like this
protected function replaceLengthMin($message, $attribute, $rule, $parameters)
{
return str_replace(':min', $parameters[0], $message);
}