{"id":19856947,"url":"https://github.com/johnvuko/validates_phone_format_of","last_synced_at":"2026-05-11T13:02:53.645Z","repository":{"id":59159060,"uuid":"80531586","full_name":"johnvuko/validates_phone_format_of","owner":"johnvuko","description":"Validate phone numbers against E.164 format with this Ruby on Rails gem.","archived":false,"fork":false,"pushed_at":"2023-02-18T20:17:13.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T08:17:39.290Z","etag":null,"topics":["e164","phone","phone-number","rails","ruby","validate","validator"],"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/johnvuko.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-31T15:12:10.000Z","updated_at":"2023-02-18T08:08:15.000Z","dependencies_parsed_at":"2024-07-22T10:58:24.605Z","dependency_job_id":null,"html_url":"https://github.com/johnvuko/validates_phone_format_of","commit_stats":null,"previous_names":["johnvuko/validates_phone_format_of"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fvalidates_phone_format_of","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fvalidates_phone_format_of/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fvalidates_phone_format_of/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnvuko%2Fvalidates_phone_format_of/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnvuko","download_url":"https://codeload.github.com/johnvuko/validates_phone_format_of/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240050989,"owners_count":19740280,"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":["e164","phone","phone-number","rails","ruby","validate","validator"],"created_at":"2024-11-12T14:17:02.954Z","updated_at":"2026-05-11T13:02:53.544Z","avatar_url":"https://github.com/johnvuko.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# validates_phone_format_of\n\n[![CI Status](http://img.shields.io/travis/jonathantribouharet/validates_phone_format_of.svg)](https://travis-ci.org/jonathantribouharet/validates_phone_format_of)\n[![Gem Version](https://badge.fury.io/rb/validates_phone_format_of.svg)](http://badge.fury.io/rb/validates_phone_format_of)\n\nValidate phone numbers against E.164 format.\n\n## Installation\n\nvalidates_phone_format_of is distributed as a gem, which is how it should be used in your app.\n\nInclude the gem in your Gemfile:\n\n    gem 'validates_phone_format_of', '~\u003e 3.0'\n\n## Usage\n\nIn your model\n\n```ruby\nclass User \u003c ActiveRecord::Base\n\n\tvalidates :phone, phone_format: true\n\t# Or\n\tvalidates_phone_format_of :phone\n\n\t# Same thing as\n\tvalidates_format_of :phone, with: ValidatesPhoneFormatOf::Regexp\n\t# Or\n\tvalidates_format_of :phone, with: /\\A\\+\\d{1,15}\\z/\n\nend\n```\n\n## Others libraries useful\n\n- [intl-tel-input](https://github.com/jackocnr/intl-tel-input) Javascript library forcing users to set the region\n- [global_phone](https://github.com/sstephenson/global_phone)\n\n## Author\n\n- [Jonathan VUKOVICH-TRIBOUHARET](https://github.com/jonathantribouharet) ([@johnvuko](https://twitter.com/johnvuko))\n\n## License\n\nThis project is released under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fvalidates_phone_format_of","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnvuko%2Fvalidates_phone_format_of","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnvuko%2Fvalidates_phone_format_of/lists"}