Skip to content

Commit eed7bcb

Browse files
Update README.md
1 parent 72fa04d commit eed7bcb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@ if($validator->validate($data, true)) {
168168

169169
| Rules | Value | Description |
170170
|----------------|----------|-------------|
171-
| required | boolean | set required fields, required fields can not be null or empty. |
171+
| required | boolean | required fields check only data exists or not, it doesn't check data is empty or null. |
172+
| null | boolean | check data is empty or null, use `true` for empty or null and use `false` for non empty or not null values. |
172173
| alphabet | boolean | match alphabetical data. use `true` for alphabetical and `false` for non alphabetical values. |
173174
| numeric | boolean | match numeric data. use `true` for numeric and `false` for non numeric values. |
174175
| alphanumeric | boolean | match alphanumeric data. use `true` for alphanumeric and `false` for non alphanumeric values. |

0 commit comments

Comments
 (0)