Skip to content

Custom Error Messages and Attributes

You can define custom messages and attributes by implementing the messages and attributes methods:

php
public function messages(): array
{
    return [];
}

public function attributes(): array
{
    return [];
}