vendredi 24 mars 2017

Custom error messages in package for Laravel 5.x

I am creating a package for Laravel 5.4 and have a few custom regexes with error messages. Normally you put these messages in de validation.php file (which works). But when installing a package I want the user to not have to copy paste those in.

Is there way for a package to have an extra validation language file that will automatically be called when the rule is not found in the regular validation language file?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2nYkZ7D
via IFTTT

Aucun commentaire:

Enregistrer un commentaire