Registry / utility / torann-geoip

torann-geoip

JSON →
library3.0.10phppackagistunverified

Support for multiple Geographical Location services.

composer require torann/geoip
INSTALL
IMPORT
SIG · TORANN-GEOIP
T
torann-geoip
utilityphpv3.0.10
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GeoIP
use Torann\GeoIP\GeoIP;

Get geographical location for an IP address

use Torann\GeoIP\GeoIP; $geoip = new GeoIP(); $location = $geoip->getLocation('8.8.8.8');
Debug
Known issues
gotchaRequires a service API key for some providers
fix
Configure service in config/geoip.php
affects: *
Upgrade
Version history
3.0.10latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
8
Resources
torann-geoip — pip install torann-geoip · libregistry