ophpl/unlocode

PHP API for UN/LOCODE - United Nations Code for Trade and Transport Locations

v2.0.1 2022-10-30 20:13 UTC

This package is auto-updated.

Last update: 2024-04-29 04:46:45 UTC


README

Description

This package provides an API for UN/LOCODE - United Nations Code for Trade and Transport Locations

Installation

Define Your Dependencies

We recommend installing this package with Composer. To do this, add ophpl/unlocode to your composer.json file.

{
    "require": {
        "ophpl/unlocode": "dev-master"
    }
}

Install Composer

Run in your project root:

curl -s http://getcomposer.org/installer | php

Install Dependencies

Run in your project root:

php composer.phar install

Build

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