From 8852b23c540beade3e68888b930ba542d4fd024d Mon Sep 17 00:00:00 2001 From: Arandi Lopez Date: Mon, 18 Jul 2016 23:37:25 -0500 Subject: [PATCH] update readme for v0.2.0 --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b317c6c..63405a1 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,12 @@ return [ ]; ``` +Publish vendor lang files if you need to replace by your own. + +```shell +php artisan vendor:publish +``` + ## How to use This package register a custom validator. You can use in your controller's `validate` function. @@ -46,7 +52,9 @@ class MyController extends Controller } ``` -By default the validator will load the `en` locale. If you want to use others dictionaries you can pass them as parameters in the validator. +By default the validator will load the default locale in your `config/app.php` file configuration which by default is `en`. If your locale is not supported, please [post an issue for this project](https://github.com/arandilopez/laravel-profane/issues) + +If you want to use others dictionaries you can pass them as parameters in the validator. ```php Please, help to add more locales + ## License This project is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).