andersao / andersao/laravel-validator

Support setAttributeNames to allow localisation

Aperta
#34 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
406
Fork
88
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Laravel's default validation provides a method [setAttributeNames](https://laravel.com/api/5.3/Illuminate/Validation/Validator.html#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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.