We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would be good to have international phone validator.
Input: +7 454 545-44-44, +74545454444, +7 (454)545-4444
Algorithm:
+
-
(
)
The text was updated successfully, but these errors were encountered:
+ can be substituted by 00 (0033612345678 and +33612345678 are the same phone number)
00
Sorry, something went wrong.
Nope. That's country-specific.
As far as I know, libphonenumber by Google is the most correct phone validator implementation. There is a PHP port libphonenumber-for-php so I'd prefer using it.
Seems to be out of scope of general validation library.
No branches or pull requests
Would be good to have international phone validator.
Input: +7 454 545-44-44, +74545454444, +7 (454)545-4444
Algorithm:
+
.-
,(
,)
. Check if string is numeric.The text was updated successfully, but these errors were encountered: