dimsav/laravel-ip-service
Laravel IP Service
Tries to guess the country code of the client, using his IP.
Installation
Download and import the ip database from ip2nation.com
Usage
$service = App::make('Dimsav\IpService\IpService');
// country code for the given ip address
echo $service->getCountryCodeFromIp('123.123.123.123');
// country code for the client's ip address
echo $service->getCountryCodeFromClientIp();
Related Packages
sumanion/laravel-cloudflare
Simple way to determine real client IP and country when using CloudFlare
3,145
9
lab404/laravel-auth-checker
Laravel Auth Checker allows you to log users authentication, devices authenticat...
167,642
223