PHP code example of farit-slv / sypex-geo

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

    

farit-slv / sypex-geo example snippets




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

ypexGeo->getCity('5.189.19.230');

var_dump($city);