PHP code example of linelab-studio / country-provider
1. Go to this page and download the library: Download linelab-studio/country-provider 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/ */
linelab-studio / country-provider example snippets
ntryProvider = new \LabStudio\GeoPolitic\CountryProvider();
$country = $countryProvider->get('POL');
echo '<pre>';
var_dump($country);
echo '</pre>';