{"id":20290607,"url":"https://github.com/gocardless/uk_phone_numbers","last_synced_at":"2025-04-11T11:00:20.652Z","repository":{"id":3090840,"uuid":"4115430","full_name":"gocardless/uk_phone_numbers","owner":"gocardless","description":"A Ruby library for validating and formatting UK phone numbers.","archived":false,"fork":false,"pushed_at":"2013-07-02T16:01:55.000Z","size":105,"stargazers_count":6,"open_issues_count":1,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T10:03:25.471Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gocardless.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-04-23T16:52:30.000Z","updated_at":"2019-02-06T21:15:28.000Z","dependencies_parsed_at":"2022-08-29T02:51:37.507Z","dependency_job_id":null,"html_url":"https://github.com/gocardless/uk_phone_numbers","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Fuk_phone_numbers","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Fuk_phone_numbers/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Fuk_phone_numbers/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocardless%2Fuk_phone_numbers/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gocardless","download_url":"https://codeload.github.com/gocardless/uk_phone_numbers/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248381716,"owners_count":21094525,"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":[],"created_at":"2024-11-14T15:08:26.948Z","updated_at":"2025-04-11T11:00:20.346Z","avatar_url":"https://github.com/gocardless.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# uk_phone_numbers\n\nA Ruby library for validating and formatting UK phone numbers.\n\n## Installation\n\n```console\n$ gem install uk_phone_numbers\n```\n\n## Usage\n\n### Validating a phone number\n\n```ruby\nrequire 'uk_phone_numbers'\n\nUKPhoneNumbers.valid? \"02087123456\"\n# =\u003e true\n```\n\n### Formatting a phone number\n\n```ruby\nrequire 'uk_phone_numbers'\n\nUKPhoneNumbers.format \"02087123456\"\n# =\u003e \"020 8712 3456\"\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocardless%2Fuk_phone_numbers","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgocardless%2Fuk_phone_numbers","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocardless%2Fuk_phone_numbers/lists"}