PHP code example of webazon / ipapi
1. Go to this page and download the library: Download webazon/ipapi 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/ */
webazon / ipapi example snippets
use Webazon\Ipapi\Ip;
$ip = new Ip([IP-address]); ## Optional. Leave blank for visitor's IP.