1
1
Respect\Validation
2
2
==================
3
3
4
- [ ![ Build Status] ( https://secure.travis-ci.org/Respect/Validation.png )] ( http://travis-ci.org/Respect/Validation ) [ ![ Latest Stable Version] ( https://poser.pugx.org/respect/validation/v/stable.png )] ( https://packagist.org/packages/respect/validation ) [ ![ Total Downloads] ( https://poser.pugx.org/respect/validation/downloads.png )] ( https://packagist.org/packages/respect/validation ) [ ![ Latest Unstable Version] ( https://poser.pugx.org/respect/validation/v/unstable.png )] ( https://packagist.org/packages/respect/validation ) [ ![ License] ( https://poser.pugx.org/respect/validation/license.png )] ( https://packagist.org/packages/respect/validation )
4
+ [ ![ Build Status] ( https://secure.travis-ci.org/Respect/Validation.png )] ( http://travis-ci.org/Respect/Validation )
5
+ [ ![ Scrutinizer Code Quality] ( https://scrutinizer-ci.com/g/Respect/Validation/badges/quality-score.png?b=master )] ( https://scrutinizer-ci.com/g/Respect/Validation/?branch=master )
6
+ [ ![ Code Coverage] ( https://scrutinizer-ci.com/g/Respect/Validation/badges/coverage.png?b=master )] ( https://scrutinizer-ci.com/g/Respect/Validation/?branch=master )
7
+ [ ![ Latest Stable Version] ( https://poser.pugx.org/respect/validation/v/stable.png )] ( https://packagist.org/packages/respect/validation )
8
+ [ ![ Total Downloads] ( https://poser.pugx.org/respect/validation/downloads.png )] ( https://packagist.org/packages/respect/validation )
9
+ [ ![ License] ( https://poser.pugx.org/respect/validation/license.png )] ( https://packagist.org/packages/respect/validation )
5
10
6
11
[ The most awesome validation engine ever created for PHP.] ( http://bit.ly/1a1oeQv )
7
12
@@ -1538,8 +1543,8 @@ v::perfectSquare()->validate(9); //true (3*3)
1538
1543
```
1539
1544
#### v::phone()
1540
1545
1541
- Validates a valid 7, 10, 11 digit phone number (North America, Europe and most
1542
- Asian and Middle East countries), supporting country and area codes (in dot,
1546
+ Validates a valid 7, 10, 11 digit phone number (North America, Europe and most
1547
+ Asian and Middle East countries), supporting country and area codes (in dot,
1543
1548
space or dashed notations) such as:
1544
1549
1545
1550
(555)555-5555
@@ -1549,7 +1554,7 @@ space or dashed notations) such as:
1549
1554
+33(1)22 22 22 22
1550
1555
+33(020)7777 7777
1551
1556
03-6106666
1552
-
1557
+
1553
1558
#### v::positive()
1554
1559
1555
1560
Validates if a number is higher than zero
0 commit comments