PHP code example of yamilovs / sypex-geo

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

    

yamilovs / sypex-geo example snippets




use Yamilovs\SypexGeo\Database\Mode;
use Yamilovs\SypexGeo\SypexGeo;

ypexGeo->getCity('5.189.19.230');

var_dump($city);