{"id":17109743,"url":"https://github.com/bleargh45/data-formvalidator-constraints-numberphone","last_synced_at":"2025-03-23T21:41:46.920Z","repository":{"id":56833939,"uuid":"330509557","full_name":"bleargh45/Data-FormValidator-Constraints-NumberPhone","owner":"bleargh45","description":"Data constraints, using Number::Phone","archived":false,"fork":false,"pushed_at":"2023-06-12T20:11:06.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T05:13:55.634Z","etag":null,"topics":["constraints","data-formvalidator","telephone-number-validation","telephone-numbers"],"latest_commit_sha":null,"homepage":"https://metacpan.org/release/Data-FormValidator-Constraints-NumberPhone/","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bleargh45.png","metadata":{"files":{"readme":"README.md","changelog":"Changes","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-17T23:43:06.000Z","updated_at":"2023-03-13T02:53:09.000Z","dependencies_parsed_at":"2022-09-08T07:42:27.162Z","dependency_job_id":null,"html_url":"https://github.com/bleargh45/Data-FormValidator-Constraints-NumberPhone","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleargh45%2FData-FormValidator-Constraints-NumberPhone","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleargh45%2FData-FormValidator-Constraints-NumberPhone/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleargh45%2FData-FormValidator-Constraints-NumberPhone/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bleargh45%2FData-FormValidator-Constraints-NumberPhone/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bleargh45","download_url":"https://codeload.github.com/bleargh45/Data-FormValidator-Constraints-NumberPhone/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245175322,"owners_count":20572781,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["constraints","data-formvalidator","telephone-number-validation","telephone-numbers"],"created_at":"2024-10-14T16:24:14.342Z","updated_at":"2025-03-23T21:41:46.895Z","avatar_url":"https://github.com/bleargh45.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NAME\n\nData::FormValidator::Constraints::NumberPhone - Data constraints, using Number::Phone\n\n# SYNOPSIS\n\n```perl\nuse Data::FormValidator::Constraints::NumberPhone qw(FV_american_phone);\n\nconstraint_methods =\u003e {\n    phone        =\u003e FV_american_phone(),\n    canada_phone =\u003e FV_american_phone(qw( CA )),\n},\n```\n\n# DESCRIPTION\n\nThis module implements methods to help validate data using\n`Data::FormValidator` and `Number::Phone`.\n\n# METHODS\n\n- FV\\_american\\_phone()\n\n    Creates a constraint closure that returns true if the constrained value\n    appears to be a valid North American telephone number (Canada, or US)\n\n- FV\\_telephone(@countries)\n\n    Creates a constraint closure that returns true if the constrained value\n    appears to be a valid telephone number.\n\n    REQUIRES a list of Country Codes (e.g. \"CA\", \"US\", \"UK\"), to specify which\n    countries should be considered valid. By default, \\*NO\\* countries are\n    considered valid (and thus, no numbers are considered valid by default).\n\n# AUTHOR\n\nGraham TerMarsch (cpan@howlingfrog.com)\n\n# COPYRIGHT\n\nCopyright (C) 2012, Graham TerMarsch.  All Rights Reserved.\n\n# SEE ALSO\n\n- [Data::FormValidator](https://metacpan.org/pod/Data%3A%3AFormValidator)\n- [Number::Phone](https://metacpan.org/pod/Number%3A%3APhone)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbleargh45%2Fdata-formvalidator-constraints-numberphone","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbleargh45%2Fdata-formvalidator-constraints-numberphone","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbleargh45%2Fdata-formvalidator-constraints-numberphone/lists"}