File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,13 @@ PHP >= 7.2, Laravel `>=5.8 | 6.x | 7.x`.
1818composer require f9webltd/laravel-validation-rules
1919```
2020
21- The package will automatically register itself.
21+ To publish the package validation message translations:
22+
23+ ``` bash
24+ php artisan vendor:publish --provider=" F9Web\ValidationRules\ValidationRulesServiceProvider"
25+ ```
26+
27+ Published translations are available at ` resources/lang/vendor/f9web-validation-rules/messages.php ` .
2228
2329## Usage
2430
Original file line number Diff line number Diff line change 11{
22 "name" : " f9webltd/laravel-validation-rules" ,
3- "description" : " Some useful Laravel validation rules" ,
3+ "description" : " A collection of useful Laravel validation rules" ,
44 "keywords" : [
55 " laravel" ,
66 " laravel validation rules" ,
2121 "require" : {
2222 "php" : " ^7.2" ,
2323 "ext-mbstring" : " *" ,
24+ "illuminate/contracts" : " 5.8.* || ^6.0 || ^7.0" ,
2425 "illuminate/support" : " 5.8.* || ^6.0 || ^7.0"
2526 },
2627 "require-dev" : {
You can’t perform that action at this time.
0 commit comments