Skip to content
New issue

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

Support Phone Number Validation #69

Open
insightindustry opened this issue Jan 9, 2021 · 0 comments
Open

Support Phone Number Validation #69

insightindustry opened this issue Jan 9, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@insightindustry
Copy link
Owner

It would be helpful to extend the validator collection with a validators.phone_number() validator and checkers.is_phone_number() checker.

Key requirements around this validator would be to:

  • support the diverse phone number structures and styles that operate globally
  • support the ability to validate phone number structures to a specific country-style OR to validate them against all country-styles
  • support the optional "de-hydration" of phone numbers to reduce them to their numerical components only
  • support the optional "re-hydration" of phone numbers to add back in stylistic "sugar" (e.g. + for the country code, (...) for area codes, etc.
@insightindustry insightindustry self-assigned this Jan 9, 2021
@insightindustry insightindustry added the enhancement New feature or request label Jan 9, 2021
@insightindustry insightindustry added this to the 1.6.0 milestone Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant