Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a few validation rules to documentation #4288

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions validation.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,12 +503,16 @@ Below is a list of all available validation rules and their function:
[Exists (Database)](#rule-exists)
[File](#rule-file)
[Filled](#rule-filled)
[Gt](#rule-gt)
[Gte](#rule-gte)
[Image (File)](#rule-image)
[In](#rule-in)
[In Array](#rule-in-array)
[Integer](#rule-integer)
[IP Address](#rule-ip)
[JSON](#rule-json)
[Lt](#rule-lt)
[Lte](#rule-lte)
[Max](#rule-max)
[MIME Types](#rule-mimetypes)
[MIME Type By File Extension](#rule-mimes)
Expand Down Expand Up @@ -903,6 +907,23 @@ The field under validation must be a string. If you would like to allow the fiel

The field under validation must be a valid timezone identifier according to the `timezone_identifiers_list` PHP function.

<a name="rule-gt"></a>
#### gt:_foo_
The field under validation must be greater than _foo_ field.

<a name="rule-lt"></a>
#### lt:_foo_
The field under validation must be less than _foo_ field.

<a name="rule-gte"></a>
#### gte:_foo_
The field under validation must be greater than or equal _foo_ field.

<a name="rule-lte"></a>
#### lte:_foo_
The field under validation must be less than or equal _foo_ field.


<a name="rule-unique"></a>
#### unique:_table_,_column_,_except_,_idColumn_

Expand Down