diff --git a/README.md b/README.md index 5bdb0d1..0dc77ee 100644 --- a/README.md +++ b/README.md @@ -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) @@ -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. + +#### integer +The field under this rule must be integer. + #### ip