2017 © Pedro Peláez
 

library geoip

Maxmind GeoLite2 wrapper

image

aliasio/geoip

Maxmind GeoLite2 wrapper

  • Sunday, March 22, 2015
  • by AliasIO
  • Repository
  • 1 Watchers
  • 6 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

GeoIP

Returns country information in JSON format for a given IP address., (*1)

Usage:, (*2)

php index.php <ip_address>

Example output:, (*3)

$ php index.php 63.245.215.20
{"locale_code":"en","continent_code":"NA","continent_name":"North America","country_iso_code":"US","country_name":"United States","ip_address":"63.245.215.20"}

Using Docker:, (*4)

docker run alias/geoip <ip_address>

The Versions

22/03 2015

dev-master

9999999-dev https://alias.io

Maxmind GeoLite2 wrapper

  Sources   Download

GPL-3.0