PHPackages                             geocoder-php/ip2location-binary-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-binary-provider

ActiveLibrary[API Development](/categories/api)

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

Geocoder IP2LocationBinary adapter

1.4.0(1y ago)12.3kMITPHPPHP ^8.0CI failing

Since Jan 5Pushed 5mo ago2 watchersCompare

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

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

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

[](#ip2location-binary-geocoder-provider)

[![Build Status](https://camo.githubusercontent.com/6378b9dbba0ba67e2d67255fa3298bf43462df41e7049b8c6c4b7fc1d8312a7b/68747470733a2f2f7472617669732d63692e6f72672f67656f636f6465722d7068702f6970326c6f636174696f6e2d62696e6172792d70726f76696465722e7376673f6272616e63683d6d6173746572)](http://travis-ci.org/geocoder-php/ip2location-binary-provider)[![Latest Stable Version](https://camo.githubusercontent.com/ff128d8e3110041d843bf24745fe40dd0dcacf0db01dda829275d745e107e0ca/68747470733a2f2f706f7365722e707567782e6f72672f67656f636f6465722d7068702f6970326c6f636174696f6e2d62696e6172792d70726f76696465722f762f737461626c65)](https://packagist.org/packages/geocoder-php/ip2location-binary-provider)[![Total Downloads](https://camo.githubusercontent.com/f1f33e33d4abd514ec594e5293e036afae391de55f2a6c0fe82e13caeeddd67f/68747470733a2f2f706f7365722e707567782e6f72672f67656f636f6465722d7068702f6970326c6f636174696f6e2d62696e6172792d70726f76696465722f646f776e6c6f616473)](https://packagist.org/packages/geocoder-php/ip2location-binary-provider)[![Monthly Downloads](https://camo.githubusercontent.com/147c783d159b45ff03204d462580e054db63a53147a021e7cf112e53fa7d3a32/68747470733a2f2f706f7365722e707567782e6f72672f67656f636f6465722d7068702f6970326c6f636174696f6e2d62696e6172792d70726f76696465722f642f6d6f6e74686c792e706e67)](https://packagist.org/packages/geocoder-php/ip2location-binary-provider)[![Code Coverage](https://camo.githubusercontent.com/991153d9a072f610b6b1b387d69a2b3f9194998ed21758ef3835ad785ade9a9c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f67656f636f6465722d7068702f6970326c6f636174696f6e2d62696e6172792d70726f76696465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/geocoder-php/ip2location-binary-provider)[![Quality Score](https://camo.githubusercontent.com/74c6beacba5c44f84c36aec871ae6406bf60972cc8babf8f35b7f1eae41416e7/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f67656f636f6465722d7068702f6970326c6f636174696f6e2d62696e6172792d70726f76696465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/geocoder-php/ip2location-binary-provider)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)

This is the IP2Location Binary 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-binary-provider
```

### Note

[](#note)

This provider requires a BIN database file. You can download the free database from [IP2Location LITE](https://lite.ip2location.com/) website or the commercial database from [IP2Location](https://www.ip2location.com/).

For testing, download the BIN database from [here](https://lite.ip2location.com/database/ip-country-region-city-latitude-longitude-zipcode), decompress and upload the .BIN file into `.\Tests\fixtures`.

### 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

43

—

FairBetter than 91% of packages

Maintenance59

Moderate activity, may be stable

Popularity21

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 64.7% 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 ~385 days

Recently: every ~436 days

Total

6

Last Release

398d 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.3.1PHP ^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 (22 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)")[![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)")[![kornrunner](https://avatars.githubusercontent.com/u/725986?v=4)](https://github.com/kornrunner "kornrunner (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)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[willdurand/geocoder-bundle

Integration of Geocoder into Symfony

3226.4M12](/packages/willdurand-geocoder-bundle)[geocoder-php/chain-provider

Geocoder chain adapter

1046.8M13](/packages/geocoder-php-chain-provider)[geocoder-php/geo-plugin-provider

Geocoder GeoPlugin adapter

975.0M8](/packages/geocoder-php-geo-plugin-provider)[geocoder-php/nominatim-provider

Geocoder Nominatim adapter

354.4M27](/packages/geocoder-php-nominatim-provider)[geocoder-php/ipstack-provider

Geocoder Ipstack adapter

60334.1k2](/packages/geocoder-php-ipstack-provider)

PHPackages © 2026

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