PHP code example of peterujah / geo-name-search
1. Go to this page and download the library: Download peterujah/geo-name-search 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/ */
peterujah / geo-name-search example snippets
$geo = new \Peterujah\NanoBlock\GeoNameSearch("username");
$geo->states("Nigeria");
$geo->cities("Enugu");
$geo->query("Query", "Country");