mcdanci / iso3166
A library providing ISO 3166-1 data of country & nationality
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 295
pkg:composer/mcdanci/iso3166
Requires
- php: >=5.6
- league/iso3166: ^2.1
Requires (Dev)
- phpunit/phpunit: ^4.6 || ^5.0
This package is not auto-updated.
Last update: 2025-10-06 12:07:52 UTC
README
A library providing ISO 3166-1 data of country & nationality.
ISO 3166-1 country codes & nationalities listing in the following formats:
- CSV
- JSON
- MySQL
- PHP (as array)
Using
See samples
for reference.
The src/gen
folder contains a PHP file that generates the various output files from the main data file src/gen/master-list.csv
.
Source
Data is taken from: