PHP code example of azizdevfull / uzb-geo-locator

1. Go to this page and download the library: Download azizdevfull/uzb-geo-locator 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/ */

    

azizdevfull / uzb-geo-locator example snippets

 php
e Azizdev\UzbGeoLocator\GeoService;

$geo = new GeoService();
$result = $geo->detectRegion(41.3, 69.2);

print_r($result);