From e350fa190331e8af5dfcc855f11de1aab86e2775 Mon Sep 17 00:00:00 2001 From: Shahrokh Niakan Date: Wed, 24 Aug 2016 20:35:01 +0430 Subject: [PATCH 1/2] Added some changes on readme.md --- readme.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/readme.md b/readme.md index 6aa3a28..6a84689 100644 --- a/readme.md +++ b/readme.md @@ -49,6 +49,8 @@ You can access to validation rules by passing the rules key according blew follo | a_domain | Checked correct domain | | more | Checked value be max and not equal too| | less | Checked value be min and not equal too | +| iran_phone | Iran phone number | + @@ -149,5 +151,8 @@ Validator::make( $request->all(), [ 'less' => 'less:10' // Validate value be less than parameter + 'phone' => 'iran_phone' // Validate phone number + + ]); ``` From 9bca855c07ce9fbf1b698e7fe460c40646111a40 Mon Sep 17 00:00:00 2001 From: SHAHROKH Date: Wed, 24 Aug 2016 20:37:21 +0430 Subject: [PATCH 2/2] Update readme.md --- readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 6a84689..b7b9d7b 100644 --- a/readme.md +++ b/readme.md @@ -151,8 +151,7 @@ Validator::make( $request->all(), [ 'less' => 'less:10' // Validate value be less than parameter - 'phone' => 'iran_phone' // Validate phone number - + 'phone' => 'iran_phone' // Validate phone number ]); ```