respect-validation/docs/rules/Phone.md

32 lines
564 B
Markdown
Raw Normal View History

2015-01-30 09:40:06 +01:00
# Phone
- `Phone()`
2015-01-30 09:40:06 +01:00
Validates whether the input is a valid phone number.
2015-01-30 09:40:06 +01:00
Validates a valid 7, 10, 11 digit phone number (North America, Europe and most
Asian and Middle East countries), supporting country and area codes (in dot,
space or dashed notations) such as:
- (555)555-5555
- 555 555 5555
- +5(555)555.5555
- 33(1)22 22 22 22
- +33(1)22 22 22 22
- +33(020)7777 7777
- 03-6106666
## Changelog
Version | Description
--------|-------------
0.5.0 | Created
***
See also:
- [Email](Email.md)
2018-12-11 13:31:50 +01:00
- [Json](Json.md)
- [Url](Url.md)
- [VideoUrl](VideoUrl.md)