File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ Inp::value("Lorem ipsum dolor")->length(1);
2424``` php
2525Inp::value("Lorem ipsum dolor")->length(1, 160);
2626```
27- ### check if is valid email
27+ ### Check if is valid email
2828``` php
2929Inp::value("
[email protected] ")->email();
3030```
31- ### check if is valid phone
31+ ### Check if is valid phone
3232Will allow only numbers and some characters like (”-”, ”+” and ” ”).
3333``` php
3434Inp::value("+46709676040")->phone();
@@ -61,9 +61,9 @@ Inp::value("2022/02/13 14:15")->date(”Y/m/d H:i”);
6161``` php
6262Inp::value("2022/02/13 - 2022/02/26")->date(”Y/m/d”);
6363```
64- ### Check if persons is at least 18 years old or more .
64+ ### Check if persons is at least 18 years old or older .
6565``` php
66- Inp::value("2001/05/ 22")->age(”18”);
66+ Inp::value("1988-05- 22")->age(”18”);
6767```
6868### Check if is a valid domain name
6969``` php
You can’t perform that action at this time.
0 commit comments