PHPackages                             ip2location/ip2location-php-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ip2location/ip2location-php-api

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ip2location/ip2location-php-api
===============================

PHP module to geolocate the country, region, city, coordinates, zip code, ISP, domain name, timezone, connection speed, IDD code, area code, weather station code, weather station name, MCC, MNC, mobile brand name, elevation and usage type that any IP address or host name originates from.

1.2.0(4y ago)147028MITPHPPHP &gt;=5.3

Since Jul 15Pushed 5mo ago4 watchersCompare

[ Source](https://github.com/ip2location/ip2location-php-api)[ Packagist](https://packagist.org/packages/ip2location/ip2location-php-api)[ Docs](https://www.ip2location.com/)[ RSS](/packages/ip2location-ip2location-php-api/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)DependenciesVersions (4)Used By (0)

IP2Location PHP API
===================

[](#ip2location-php-api)

> This project has been merged into [IP2Location-PHP-Module](https://github.com/chrislim2888/IP2Location-PHP-Module). We will no longer maintain and support this project. Please visit [IP2Location-PHP-Module](https://github.com/chrislim2888/IP2Location-PHP-Module) for latest updates or enhancements.

This module allows user to geolocate the country, region, city, coordinates, zip code, ISP, domain name, timezone, connection speed, IDD code, area code, weather station code, weather station name, MCC, MNC, mobile brand name, elevation and usage type that any IP address or host name originates from by calling the **IP2Location API**.

Getting Started
---------------

[](#getting-started)

To begin, an API key is required for this module to function. Find further information at

Usage
-----

[](#usage)

```
