PHPackages                             geocoder-php/ip2location-provider - 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. [API Development](/categories/api)
4. /
5. geocoder-php/ip2location-provider

ActiveLibrary[API Development](/categories/api)

geocoder-php/ip2location-provider
=================================

Geocoder IP2Location adapter

1.4.0(1y ago)1263MITPHPPHP ^8.0CI failing

Since Jan 5Pushed 7mo ago2 watchersCompare

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

READMEChangelog (5)Dependencies (5)Versions (6)Used By (0)

IP2Location Geocoder provider
=============================

[](#ip2location-geocoder-provider)

[![Build Status](https://camo.githubusercontent.com/83fecd0359eaaa27a3167a43a68ed771d2a07f1bc5cfc020c813da30df9ba8e9/68747470733a2f2f7472617669732d63692e6f72672f67656f636f6465722d7068702f6970326c6f636174696f6e2d70726f76696465722e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/geocoder-php/ip2location-provider)[![Latest Stable Version](https://camo.githubusercontent.com/b460cd11e53a18370f18aab48b7be6995ab616ac8e37bc420b49edb1b6c6c52f/68747470733a2f2f706f7365722e707567782e6f72672f67656f636f6465722d7068702f6970326c6f636174696f6e2d70726f76696465722f762f737461626c65)](https://packagist.org/packages/geocoder-php/ip2location-provider)[![Total Downloads](https://camo.githubusercontent.com/67f0f0ecf367ee5a4813edf0afa75f49c4dddb1acf3d8458038a6bd349ab58e2/68747470733a2f2f706f7365722e707567782e6f72672f67656f636f6465722d7068702f6970326c6f636174696f6e2d70726f76696465722f646f776e6c6f616473)](https://packagist.org/packages/geocoder-php/ip2location-provider)[![Monthly Downloads](https://camo.githubusercontent.com/c5e9ee608666aba785720def296d59b55a400c03a1576d5e2480200a479ec4bf/68747470733a2f2f706f7365722e707567782e6f72672f67656f636f6465722d7068702f6970326c6f636174696f6e2d70726f76696465722f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/geocoder-php/ip2location-provider)[![Code Coverage](https://camo.githubusercontent.com/8b122e55b3b97d488f5fbb5b63e577305a1b6e00cf3cbac15eb1aa598fcdb4ba/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f67656f636f6465722d7068702f6970326c6f636174696f6e2d70726f76696465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/geocoder-php/ip2location-provider)[![Quality Score](https://camo.githubusercontent.com/fb4f371cf1dbad99f3e984c21cda47ee0b7cc1a3895adc6a8b93610c510801a9/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f67656f636f6465722d7068702f6970326c6f636174696f6e2d70726f76696465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/geocoder-php/ip2location-provider)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

This is the IP2Location provider from the PHP Geocoder. This is a **READ ONLY** repository. See the [main repo](https://github.com/geocoder-php/Geocoder) for information and documentation.

### Install

[](#install)

```
composer require geocoder-php/ip2location-provider
```

### Note

[](#note)

This provider requires IP2Location™ [IP Geolocation Web Service](https://www.ip2location.com/web-service/ip2location) subscription. It is a paid solution with high accuracy. For free solution, please use our free [IpInfoDB](https://github.com/geocoder-php/Geocoder#ip) project. Ipinfodb is using [IP2Location LITE](https://lite.ip2location.com/) database which has less accuracy at city level.

Please note that this provider is querying IP2Location Web Service **WS9** package and each query will cost **4 credits**.

### Contribute

[](#contribute)

Contributions are very welcome! Send a pull request to the [main repository](https://github.com/geocoder-php/Geocoder) or report any issues you find on the [issue tracker](https://github.com/geocoder-php/Geocoder/issues).

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance56

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 63.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~482 days

Total

5

Last Release

434d ago

PHP version history (5 changes)1.0.0PHP ^7.0

1.1.0PHP ^7.2

1.2.0PHP ^7.3 || ^8.0

1.3.0PHP ^7.4 || ^8.0

1.4.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b434ff5f6f9dcc7095f45c43254299b3cc8f6c83e9a757a80a6b7d229a4c9701?d=identicon)[jbelien](/maintainers/jbelien)

---

Top Contributors

[![jbelien](https://avatars.githubusercontent.com/u/1150563?v=4)](https://github.com/jbelien "jbelien (19 commits)")[![Chris53897](https://avatars.githubusercontent.com/u/7104259?v=4)](https://github.com/Chris53897 "Chris53897 (6 commits)")[![ip2location-com](https://avatars.githubusercontent.com/u/6367210?v=4)](https://github.com/ip2location-com "ip2location-com (1 commits)")[![nicolas-grekas](https://avatars.githubusercontent.com/u/243674?v=4)](https://github.com/nicolas-grekas "nicolas-grekas (1 commits)")[![norkunas](https://avatars.githubusercontent.com/u/2722872?v=4)](https://github.com/norkunas "norkunas (1 commits)")[![JaZo](https://avatars.githubusercontent.com/u/3475007?v=4)](https://github.com/JaZo "JaZo (1 commits)")[![fbuchlak](https://avatars.githubusercontent.com/u/30214087?v=4)](https://github.com/fbuchlak "fbuchlak (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/geocoder-php-ip2location-provider/health.svg)

```
[![Health](https://phpackages.com/badges/geocoder-php-ip2location-provider/health.svg)](https://phpackages.com/packages/geocoder-php-ip2location-provider)
```

###  Alternatives

[willdurand/geocoder-bundle

Integration of Geocoder into Symfony

3236.6M14](/packages/willdurand-geocoder-bundle)[geocoder-php/geo-plugin-provider

Geocoder GeoPlugin adapter

975.3M10](/packages/geocoder-php-geo-plugin-provider)[geocoder-php/chain-provider

Geocoder chain adapter

1047.1M15](/packages/geocoder-php-chain-provider)[geocoder-php/nominatim-provider

Geocoder Nominatim adapter

354.6M43](/packages/geocoder-php-nominatim-provider)[geocoder-php/ipstack-provider

Geocoder Ipstack adapter

60349.9k2](/packages/geocoder-php-ipstack-provider)[swisnl/geocoder-php-nationaal-georegister-provider

PDOK (formerly Nationaal Georegister) provider for Geocoder PHP

28345.9k3](/packages/swisnl-geocoder-php-nationaal-georegister-provider)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
