All Projects → fcevado → Phone

fcevado / Phone

Licence: other
Elixir phone number parser for numbers in international standard.

Programming Languages

elixir
2628 projects

Projects that are alternatives of or similar to Phone

Countries And Timezones
Minimalistic library to work with countries and timezones data
Stars: ✭ 58 (-37.63%)
Mutual labels:  countries
Vonage Dotnet Sdk
Nexmo REST API client for .NET, ASP.NET, ASP.NET MVC written in C#. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Stars: ✭ 76 (-18.28%)
Mutual labels:  phone
Language list
A list of languages based upon ISO-639-1 and ISO-639-3 with functions to retrieve only common languages.
Stars: ✭ 82 (-11.83%)
Mutual labels:  countries
Countrycity
🌎 Geodata API - Get countries, and cities to plug in a select drop-down.
Stars: ✭ 62 (-33.33%)
Mutual labels:  countries
Country Coder
📍➡️ 🇩🇰 Convert longitude-latitude pairs to ISO 3166-1 codes quickly and locally
Stars: ✭ 72 (-22.58%)
Mutual labels:  countries
Vonage Java Sdk
Vonage Server SDK for Java. API support for SMS, Voice, Text-to-Speech, Numbers, Verify (2FA) and more.
Stars: ✭ 75 (-19.35%)
Mutual labels:  phone
Arg.js
🇦🇷 🛠 NPM library. Validation of Argentinian bank account numbers, IDs and phone numbers
Stars: ✭ 52 (-44.09%)
Mutual labels:  phone
Pixelbot
Stars: ✭ 90 (-3.23%)
Mutual labels:  phone
Fullstack Phone
A dual-module phone number system with dynamic regional metadata ☎️
Stars: ✭ 76 (-18.28%)
Mutual labels:  phone
3166
This is the best source for iso3166 codes you can found. I am sure.
Stars: ✭ 81 (-12.9%)
Mutual labels:  countries
World Cities
Multilingual list of countries, states & cities in XML format. 世界所有城市,国内所有省、市、区、县信息(2020.06)
Stars: ✭ 64 (-31.18%)
Mutual labels:  countries
Countries States Cities Database
🌍 World countries, states, regions, provinces, cities, towns in JSON, SQL, XML, PLIST, YAML, and CSV. All Countries, States, Cities with ISO2, ISO3, Country Code, Phone Code, Capital, Native Language, Timezones, Latitude, Longitude, Region, Subregion, Flag Emoji, and Currency. #countries #states #cities
Stars: ✭ 1,130 (+1115.05%)
Mutual labels:  countries
Laravel Country State
A helper to list countries & states in English in Laravel 5.1+
Stars: ✭ 77 (-17.2%)
Mutual labels:  countries
Carmen
A repository of geographic regions for Ruby
Stars: ✭ 1,116 (+1100%)
Mutual labels:  countries
Countries
Countries - ISO 3166 (ISO3166-1, ISO3166, Digit, Alpha-2 and Alpha-3) countries codes and names (on eng and rus), ISO 4217 currency designators, ITU-T E.164 IDD calling phone codes, countries capitals, UN M.49 regions codes, ccTLD countries domains, IOC/NOC and FIFA letters codes, VERY FAST, NO maps[], NO slices[], NO init() funcs, NO external links/files/data, NO interface{}, NO specific dependencies, Databases/JSON/GOB/XML/CSV compatible, Emoji countries flags and currencies support, full support ISO-3166-1, ISO-4217, ITU-T E.164, Unicode CLDR and ccTLD standarts.
Stars: ✭ 85 (-8.6%)
Mutual labels:  countries
Cn Mobile Location
中国手机号码归属地接口
Stars: ✭ 53 (-43.01%)
Mutual labels:  phone
Country List
Provides a View Controller with Country List along with Calling Code and Country Code.
Stars: ✭ 76 (-18.28%)
Mutual labels:  countries
Libgen Scan
Scan a barcode; get a book! Easy-peasy.
Stars: ✭ 91 (-2.15%)
Mutual labels:  phone
Phonenumberformatter
UITextField subclass for formatting phone numbers. Allow different formats for different countries(patterns).
Stars: ✭ 85 (-8.6%)
Mutual labels:  phone
Quizzity
A fast-paced geography quiz
Stars: ✭ 80 (-13.98%)
Mutual labels:  countries

Phone

Build Status Coverage Status || SourceLevel GitHub issues Inline docs || Phone version Hex.pm GitHub license

Phone number parser for telephone numbers in international standard or missing international country code, for Elixir.

Note on version 0.4.0 onward: Phone was rebuild to increase performance, that may increase compilation time but made Phone 100 times faster.

About

What is, what isnt and what will be about Phone:

  1. It isnt: * Intended to work as libphonenumber. * Prepared to format numbers. * Necessary any information about the number if in international standard.
  2. It is: * A real parser, created to extract information based only in the number. * Prepared to work with numbers not only in the international standard.
  3. It will have:
    • Area code info for every country that numbering plan has area codes.
  • Patterns:
    • Countries without area code info:

      %{
        country: "Country Name",
        a2: "Alpha-2",
        a3: "Alpha-3",
        international_code: "1",
        area_code: "yyy",
        number: "xxxxxxx"
      }
      
    • Countries with area code info:

      %{
        country: "Country Name",
        a2: "Alpha-2 code",
        a3: "Alpha-3 code",
        international_code: "1",
        number: "xxxxxxx",
        area_code: "yyy",
        area_name: "Area Name",
        area_type: "state",
        area_abbreviation: "AN"
      }
      

Area Codes

Countries that already has area code info:

  • United States.
  • Canada.
  • Brazil.
  • Spain.

Vocabulary

  • a2: Alpha-2, two letters code for country names.
  • a3: Alpha-3, three letters code for country names.
  • NANP: North American Numbering Plan, numbering plan for countries with international code number 1.
  • Numbering Plan: The rules and specifications of how telephone numbers works in a given country.

Installation

Add to your depencies like any other hex package.

defp deps do
  [{:phone, "0.5.0"}]
end

Contributing

Changelog

Code of Conduct

License

Phone is under Apache v2.0 license. Check the LICENSE file for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].