PHP code example of harrisonratcliffe / ip-api-laravel
1. Go to this page and download the library: Download harrisonratcliffe/ip-api-laravel 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/ */
harrisonratcliffe / ip-api-laravel example snippets
use Harrisonratcliffe\IpApiLaravel\IpApiLaravel;
$ipDetails = IpApiLaravel::default('188.216.103.93')->lookup();