PHP code example of cromwell / iso3166
1. Go to this page and download the library: Download cromwell/iso3166 library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
cromwell / iso3166 example snippets
$iso = new \Cromwell\ISO3166\Countries();
$iso[$iso::UNITED_KINGDOM]->name;
$iso = new \Cromwell\ISO3166\Countries();
$iso[$customer->country]->name;