From de835fb7a9315d3f1b5892e3503716dd761825f3 Mon Sep 17 00:00:00 2001 From: Tetiana Blindaruk Date: Sun, 13 May 2018 17:34:50 +0300 Subject: [PATCH] Add a few rules to documentation It is a rule from https://github.com/laravel/framework/pull/24091 PR --- validation.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/validation.md b/validation.md index 3e15d2e596e..1e24cfe5cf4 100644 --- a/validation.md +++ b/validation.md @@ -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) @@ -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. + +#### gt:_foo_ +The field under validation must be greater than _foo_ field. + + +#### lt:_foo_ +The field under validation must be less than _foo_ field. + + +#### gte:_foo_ +The field under validation must be greater than or equal _foo_ field. + + +#### lte:_foo_ +The field under validation must be less than or equal _foo_ field. + + #### unique:_table_,_column_,_except_,_idColumn_