PHP Classes

PHP Geo Location by Internet Protocol API: Find the geographical location by remote IP Number

Recommend this page to a friend!
  Info   View files Example   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog (1)    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 253 All time: 7,854 This week: 132Up
Version License PHP version Categories
ipapi 1.1GNU General Publi...5PHP 5, Web services, Geography


This class is a wrapper for the ipAPI geolocation service provided by apiLayer.

It can send HTTP requests to the ipAPI Web server to request location information for a given IP address.

The class can return details about the given IP address location like the country name, region name, city and zip address.


I want to get users location from where they are browsing.
Get user's location from where they are browsing.

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: 58
All time rank: 618 in United States United States
Week rank: 13 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 ipapi.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:7,854
This week:132Up