jeudi 20 février 2020

Laravel - Get error message from localized file

I'm creating my own validation and need to retrieve error messages from the localized file(resources/lang/en/validation.php and etc). The main task is to get array oа error messages from the appropriate file. Usually, the validator does it and you don't need to worry about it. Does exist a way to get all these messages with no using validator?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire