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`.
18
18
composer require f9webltd/laravel-validation-rules
19
19
```
20
20
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 ` .
22
28
23
29
## Usage
24
30
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " f9webltd/laravel-validation-rules" ,
3
- "description" : " Some useful Laravel validation rules" ,
3
+ "description" : " A collection of useful Laravel validation rules" ,
4
4
"keywords" : [
5
5
" laravel" ,
6
6
" laravel validation rules" ,
21
21
"require" : {
22
22
"php" : " ^7.2" ,
23
23
"ext-mbstring" : " *" ,
24
+ "illuminate/contracts" : " 5.8.* || ^6.0 || ^7.0" ,
24
25
"illuminate/support" : " 5.8.* || ^6.0 || ^7.0"
25
26
},
26
27
"require-dev" : {
You can’t perform that action at this time.
0 commit comments