PHPackages                             aist/geoip-adapter - 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. aist/geoip-adapter

ActiveLibrary

aist/geoip-adapter
==================

Geolocation GeoIp2 Db Adapter

012PHP

Since Aug 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ma-si/geoip-adapter)[ Packagist](https://packagist.org/packages/aist/geoip-adapter)[ RSS](/packages/aist-geoip-adapter/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Geolocation GeoIp2 Db Adapter
=============================

[](#geolocation-geoip2-db-adapter)

[![Build status](https://camo.githubusercontent.com/117a8d130fb1ab2b2145b941250b3dfa2da69267e9a89e00d0ab572b663a64d0/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d612d73692f67656f69702d616461707465722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://secure.travis-ci.org/ma-si/geoip-adapter)[![Coverage Status](https://camo.githubusercontent.com/8f2962cd809194ce1c5fe2cb64bf273ef96ee4a352afeadef8fc9b72904243ec/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6d612d73692f67656f69702d616461707465722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/ma-si/geoip-adapter?branch=master)[![Code Climate](https://camo.githubusercontent.com/1a1731f348f9300d21766dec7353f8cfa643ca5acefffd8e037d5fc68b85f3aa/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f6d612d73692f67656f69702d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/ma-si/geoip-adapter)[![Packagist](https://camo.githubusercontent.com/bce4c2a16c1f3c20985f2729fd06db34bb04ad9d170717c2df6115cb7bbb0572/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616973742f67656f69702d616461707465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aist/geoip-adapter)

[![License](https://camo.githubusercontent.com/3c9153b46f2832531ecd32d142bd6016abb549846e3a2fecd16ba0e0e49cf242/68747470733a2f2f706f7365722e707567782e6f72672f616973742f67656f69702d616461707465722f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://opensource.org/licenses/BSD-3-Clause)

Installation
------------

[](#installation)

Install via composer:

```
$ composer require --dev aist/geoip-adapter

```

Configuration
-------------

[](#configuration)

Add your geoip database files to local config

```
return [
    'geoip' => [
        adapter => [
            \Aist\GeoIp2\Adapter\DbAdapter::class => [

            ],
        ],
        'files' => [
            'city' => '',
            'country' => '',
            'asn' => '',
        ],
    ],
];

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/42b693076307a5fa17b0df69ee058c3f95482bd01e93f3d17a27137d6fdf1c17?d=identicon)[aist](/maintainers/aist)

---

Top Contributors

[![ma-si](https://avatars.githubusercontent.com/u/1869327?v=4)](https://github.com/ma-si "ma-si (1 commits)")

### Embed Badge

![Health badge](/badges/aist-geoip-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/aist-geoip-adapter/health.svg)](https://phpackages.com/packages/aist-geoip-adapter)
```

PHPackages © 2026

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