2017 © Pedro Peláez
 

library iso3166

ISO 3166-1 PHP Library

image

alcohol/iso3166

ISO 3166-1 PHP Library

  • Thursday, June 30, 2016
  • by alcohol
  • Repository
  • 3 Watchers
  • 50 Stars
  • 49,251 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 16 Versions
  • 5 % Grown

The README.md

league/iso3166

A PHP library providing ISO 3166-1 data., (*1)

Code Coverage License, (*2)

What is ISO 3166-1

ISO 3166-1 is part of the ISO 3166 standard published by the International Organization for Standardization (ISO), and defines codes for the names of countries, dependent territories, and special areas of geographical interest. The official name of the standard is Codes for the representation of names of countries and their subdivisions – Part 1: Country codes. It defines three sets of country codes: * ISO 3166-1 alpha-2 – two-letter country codes which are the most widely used of the three, and used most prominently for the Internet's country code top-level domains (with a few exceptions). * ISO 3166-1 alpha-3 – three-letter country codes which allow a better visual association between the codes and the country names than the alpha-2 codes. * ISO 3166-1 numeric – three-digit country codes which are identical to those developed and maintained by the United Nations Statistics Division, with the advantage of script (writing system) independence, and hence useful for people or systems using non-Latin scripts., (*3)

-- Wikipedia, (*4)

Installing

``` sh $ composer require league/iso3166, (*5)


## Using See [using](https://iso3166.thephpleague.com/using) section of the documentation. Quick guide: ``` php $data = (new League\ISO3166\ISO3166)->name($name); $data = (new League\ISO3166\ISO3166)->alpha2($alpha2); $data = (new League\ISO3166\ISO3166)->alpha3($alpha3); $data = (new League\ISO3166\ISO3166)->numeric($numeric);

Data sample:, (*6)

php [ 'name' => 'Netherlands', 'alpha2' => 'NL', 'alpha3' => 'NLD', 'numeric' => '528', 'currency' => [ 'EUR', ] ], (*7)

Contributing

Feel free to submit a pull request or create an issue., (*8)

License

league/iso3166 is licensed under the MIT license., (*9)

Source(s)

The Versions

30/06 2016

dev-master

9999999-dev http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

23/04 2016

4.1.0

4.1.0.0 http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

11/12 2015

4.0.0

4.0.0.0 http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

26/11 2015

dev-add-iterator-stuff

dev-add-iterator-stuff http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php ^5.5 || ^7.0

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

04/09 2015

3.0.0

3.0.0.0 http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

31/07 2015

2.2.0

2.2.0.0 http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php >=5.4

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

03/06 2015

2.1.3

2.1.3.0 http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

17/03 2015

2.1.2

2.1.2.0 http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php ~5.3

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

08/11 2014

2.1.1

2.1.1.0 http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php ~5.3

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

08/11 2014

2.1.0

2.1.0.0 http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php ~5.3

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

08/11 2014

2.0.0

2.0.0.0 http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php ~5.3

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

06/11 2014

1.0.4

1.0.4.0 http://alcohol.github.io/iso3166/

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php ~5.3

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

14/05 2014

1.0.3

1.0.3.0 https://github.com/alcohol/iso3166

ISO 3166-1 PHP Library

  Sources   Download

MIT

The Requires

  • php ~5.3

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

12/05 2014

1.0.2

1.0.2.0 https://github.com/alcohol/iso3166

ISO 3166-1 PHP Library

  Sources   Download

WTFPL

The Requires

  • php ~5.3

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

17/04 2014

1.0.1

1.0.1.0 https://github.com/alcohol/iso3166

ISO 3166-1 PHP Library

  Sources   Download

WTFPL

The Requires

  • php >=5.3.0

 

The Development Requires

library countries iso 3166 iso 3166 3166-1

16/04 2014

1.0.0

1.0.0.0 https://github.com/alcohol/php-iso3166

ISO 3166-1 PHP Library

  Sources   Download

WTFPL

The Requires

  • php >=5.3.0

 

The Development Requires

library countries iso 3166 iso 3166 3166-1