PHP Classes

PHP IP Geolocation API Wrapper: Get IP address location or country information

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 53 All time: 10,610 This week: 146Up
Version License PHP version Categories
ipgeo 1.0GNU General Publi...5.6Networking, PHP 5, Web services, Geog...


This package can get IP address location or country.

It can send HTTP requests to to IPGeoLocation API Web server to request location information about a given IP address, the list of would countries or information of a given country.

The responses can be cached in session variables to avoid the overhead of performing the same remote HTTP requests to the API Web server.

Free IP geolocation API Wrapper using the Maxmind Geolite 2 database set.

Can return country level data and specific latitude and longitude for any IPv4 or IPv6 IP number. The data set is kept current monthly.

Can return data for any supported country.

Supports session caching to keep the free service, free.

Picture of Dave Smith
  Performance   Level  
Name: Dave Smith is available for providing paid consulting. Contact Dave Smith .
Classes: 51 packages by
Country: United States United States
Age: 59
All time rank: 608 in United States United States
Week rank: 14 Up2 in United States United States Up
Innovation award
Innovation award
Nominee: 32x

Winner: 7x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Usage
Plain text file ipgeo.class.php Class Main Class
Accessible without login Plain text file license.txt Lic. License

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:10,610
This week:146Up