Skip to content

Commit 1c0dd8f

Browse files
committed
Update README.md
1 parent 3d2fec3 commit 1c0dd8f

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,17 @@ php artisan vendor:publish --tag="validate-lang-en"
6060

6161
If you don't know about langs name you can see [Support Languages](#support-languages) section.
6262

63+
# Configurations
64+
65+
If you may use rules with string like `ValidPhone`, you need to change the config option to `true`:
66+
67+
```php
68+
/*
69+
* If you want to use rules like 'required|ValidPhone' in your validations, you can change it to true.
70+
*/
71+
'using_container' => false,
72+
```
73+
6374
# Usage
6475

6576
You can use `Laravel-Validate Rules` very simply. You can use the `new` keyword before the rule name.

0 commit comments

Comments
 (0)