laravel-validator
laravel-validator copied to clipboard
Support setAttributeNames to allow localisation
Laravel's default validation provides a method setAttributeNames to allow overwriting attribute names that come with the request, as in most cases they aren't meant for end users to understand, and the maintain the same names even when the locale changes.