ophpl/unlocode

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

Maintainers

Package info

github.com/ophpl/unlocode

pkg:composer/ophpl/unlocode

Statistics

Installs: 16 631

Dependents: 0

Suggesters: 0

Stars: 5

Open Issues: 1

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

This package is auto-updated.

Last update: 2026-03-01 00:33:29 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