Skip to content

Commit

Permalink
add integer rule in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
DenislavParvanov committed Sep 18, 2018
1 parent 666d1a3 commit 4a546d2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ Below is list of all available validation rules
* [digits](#rule-digits)
* [digits_between](#rule-digits_between)
* [url](#rule-url)
* [integer](#rule-integer)
* [ip](#rule-ip)
* [ipv4](#rule-ipv4)
* [ipv6](#rule-ipv6)
Expand Down Expand Up @@ -513,6 +514,10 @@ $validation = $validator->validate($inputs, [
> For common URL scheme and mailto, we combine `FILTER_VALIDATE_URL` to validate URL format and `preg_match` to validate it's scheme.
Except for JDBC URL, currently it just check a valid JDBC scheme.

<a id="rule-integer"></a>
#### integer
The field under this rule must be integer.

<a id="rule-ip"></a>
#### ip

Expand Down

0 comments on commit 4a546d2

Please sign in to comment.