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

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

aist/geolocation
================

Geolocation Developer Toolbar

0.1.0(7y ago)015212BSD-3-ClausePHPPHP ^5.6 || ^7.0

Since Jul 28Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ma-si/geolocation)[ Packagist](https://packagist.org/packages/aist/geolocation)[ RSS](/packages/aist-geolocation/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (14)Versions (2)Used By (2)

Geolocation
===========

[](#geolocation)

[![Build status](https://camo.githubusercontent.com/bb7694a3fda976fdf353f78acbf90f54c2f4092cceb1984e83e32f66cfa9c714/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d612d73692f67656f6c6f636174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://secure.travis-ci.org/ma-si/geolocation)[![Coverage Status](https://camo.githubusercontent.com/6dcd86fd1de810a7412f33e213f0fa81bce5124ce9520062ff01f4242763df41/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6d612d73692f67656f6c6f636174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/ma-si/geolocation?branch=master)[![Code Climate](https://camo.githubusercontent.com/5b3b09ae600f2c532522f67396b92996485f363b223336101c7531ae842bbe85/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f6d612d73692f67656f6c6f636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/ma-si/geolocation)[![Packagist](https://camo.githubusercontent.com/6ab51823a69035068c3b87c93c864bf0ae491b6d1d0e0d3199aa683060b41107/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616973742f67656f6c6f636174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/aist/geolocation)

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

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

[](#installation)

Install via composer:

```
$ composer require aist/geolocation
```

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

[](#configuration)

If you are using zend-component-installer it automatically registers module in modules.config.php

```
return [
    ...
    'Aist\Geolocation',
    ...
];

```

Usage
-----

[](#usage)

```
$service = $sm->get(GeolocationService::class);
$location = $service->getLocation();

```

Interfaces
----------

[](#interfaces)

- \\Aist\\Geolocation\\Adapter\\AdapterInterface
- \\Aist\\Geolocation\\Storage\\StorageInterface

Listeners
---------

[](#listeners)

- \\Aist\\Geolocation\\Event\\LocationListener

package dependenciessoftware metrics[![Build status](./data/jdepend.svg)](./data/jdepend.svg)[![Build status](./data/pyramid.svg)](./data/pyramid.svg)[![Maintainability](https://camo.githubusercontent.com/9d312c7f1a13731f64f65d0627c1e4a5492f588aa1a8a7622dfcbdd5c46034db/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38373136333066396565663564633139353335372f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/ma-si/geolocation/maintainability)[![Test Coverage](https://camo.githubusercontent.com/45c0fcc183e07a740aae482fb6cd4a37473042d7bf8faa79f852bb6f94dad8bb/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38373136333066396565663564633139353335372f746573745f636f766572616765)](https://codeclimate.com/github/ma-si/geolocation/test_coverage)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2847d ago

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

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[zf-commons/zfc-base

A set of genetic (abstract) classes which are commonly used across multiple modules.

1441.1M25](/packages/zf-commons-zfc-base)[snapshotpl/zf-snap-geoip

MaxMind GeoIP Module for Zend Framework 2

1512.9k](/packages/snapshotpl-zf-snap-geoip)[bitweb/zf2-cron-module

BitWeb ZF2 module for cron.

1341.6k](/packages/bitweb-zf2-cron-module)

PHPackages © 2026

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