This package provides an API for UN/LOCODE - United Nations Code for Trade and Transport Locations
We recommend installing this package with Composer.
To do this, add ophpl/unlocode
to your composer.json
file.
{
"require": {
"ophpl/unlocode": "dev-master"
}
}
Run in your project root:
curl -s http://getcomposer.org/installer | php
Run in your project root:
php composer.phar install
Code list is available out of the box, but in case you want to update the data, you will need to rebuild the list:
php composer.phar install --dev
php console build