I wrote a bunch of validators that I would like to package so that I can re-use them in other projects.
Currently I'm registering them in AppServiceProvider.php but they also have a string declared in resources/lang/en/validation.php as well as other language files too.
What's the proper way to package the validator AND the language files so that consuming them from another project requires minimal setup?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2ufigwM
via IFTTT
Aucun commentaire:
Enregistrer un commentaire