2017 © Pedro Peláez
 

library intl-phone

Get intl dial code info from country code

image

diversen/intl-phone

Get intl dial code info from country code

  • Saturday, February 13, 2016
  • by diversen
  • Repository
  • 1 Watchers
  • 1 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 23 % Grown

The README.md

intl-phone

Get intl dial code info from country code (ISO 3166-1 alpha-2 code) See: https://en.wikipedia.org/wiki/ISO_3166-1, (*1)

Install:, (*2)

composer require diversen/intl-phone

Usage:, (*3)

~~~.php include_once "vendor/autoload.php";, (*4)

use \diversen\intl\phone;, (*5)

$p = new phone(); $ary = $p->getCountryInformation('dk');, (*6)

print_r($ary); ~~~, (*7)

Yields:, (*8)

Array
(
    [country_name] => DENMARK
    [dial_code] => 45
)

The Versions

13/02 2016

dev-master

9999999-dev https://github.com/diversen/intl-phone

Get intl dial code info from country code

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

i18n phone

12/02 2016

1.0.0

1.0.0.0 https://github.com/diversen/intl-phone

Get intl dial code info from country code

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

i18n phone