scala-phonenumber

This will eventually be a port of Google's libphonenumber to Scala. For now, because I need this functionality quick, it simply wraps libphonenumber. It is NOT complete by any means. I've only added the functionality that I needed. Currently you get a PhoneNumber case class that assumes the country is USA when you don't pass the country in. While you can pass the country in, the only country defined is USA. If you're interested in more from this library, report an issue or send me a pull request. I want to complete it and slowly remove the dependency on Google's libphonenumber

License

License

Categories

Categories

Scala Languages
GroupId

GroupId

com.oglowo
ArtifactId

ArtifactId

scala-phonenumber_2.10
Last Version

Last Version

0.3
Release Date

Release Date

Type

Type

jar
Description

Description

scala-phonenumber
This will eventually be a port of Google's libphonenumber to Scala. For now, because I need this functionality quick, it simply wraps libphonenumber. It is NOT complete by any means. I've only added the functionality that I needed. Currently you get a PhoneNumber case class that assumes the country is USA when you don't pass the country in. While you can pass the country in, the only country defined is USA. If you're interested in more from this library, report an issue or send me a pull request. I want to complete it and slowly remove the dependency on Google's libphonenumber
Project URL

Project URL

https://github.com/oGLOWo/scala-phonenumber
Project Organization

Project Organization

com.oglowo
Source Code Management

Source Code Management

https://github.com/oGLOWo/scala-phonenumber

Download scala-phonenumber_2.10

How to add to project

<!-- https://jarcasting.com/artifacts/com.oglowo/scala-phonenumber_2.10/ -->
<dependency>
    <groupId>com.oglowo</groupId>
    <artifactId>scala-phonenumber_2.10</artifactId>
    <version>0.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.oglowo/scala-phonenumber_2.10/
implementation 'com.oglowo:scala-phonenumber_2.10:0.3'
// https://jarcasting.com/artifacts/com.oglowo/scala-phonenumber_2.10/
implementation ("com.oglowo:scala-phonenumber_2.10:0.3")
'com.oglowo:scala-phonenumber_2.10:jar:0.3'
<dependency org="com.oglowo" name="scala-phonenumber_2.10" rev="0.3">
  <artifact name="scala-phonenumber_2.10" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.oglowo', module='scala-phonenumber_2.10', version='0.3')
)
libraryDependencies += "com.oglowo" % "scala-phonenumber_2.10" % "0.3"
[com.oglowo/scala-phonenumber_2.10 "0.3"]

Dependencies

compile (6)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.10.4
org.scalaz : scalaz-core_2.10 jar 7.0.0
com.chuusai : shapeless_2.10 jar 1.2.4
com.typesafe.scala-logging : scala-logging-slf4j_2.10 jar 2.1.2
com.googlecode.libphonenumber : libphonenumber jar 4.3
com.googlecode.libphonenumber : geocoder jar 1.7

test (1)

Group / Artifact Type Version
org.specs2 : specs2-core_2.10 jar 2.3.7

Project Modules

There are no modules declared in this project.

scala-phonenumber

This will eventually be a port of Google's libphonenumber to Scala. For now, because I need this functionality quick, it simply wraps libphonenumber. It is NOT complete by any means. I've only added the functionality that I needed. Currently you get a PhoneNumber case class that assumes the country is USA when you don't pass the country in. While you can pass the country in, the only country defined is USA. If you're interested in more from this library, report an issue or send me a pull request. I want to complete it and slowly remove the dependency on Google's libphonenumber

Versions

Version
0.3
0.2
0.1