PHPackages                             alfa-dev-team/abstractapi-geo - 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. alfa-dev-team/abstractapi-geo

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

alfa-dev-team/abstractapi-geo
=============================

A description for abstractapi-geo.

1.0(4y ago)0321MITPHPPHP ^8.0

Since Apr 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/alfa-dev-team/abstractapi-geo)[ Packagist](https://packagist.org/packages/alfa-dev-team/abstractapi-geo)[ RSS](/packages/alfa-dev-team-abstractapi-geo/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

abstractapi-geo
===============

[](#abstractapi-geo)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)![Travis](https://camo.githubusercontent.com/ec62a4ff9c9fd8e44f124addb5a48802adb898939df087305164ba507cffa60d/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f616c66612d6465762d7465616d2f61627374726163746170692d67656f2e7376673f7374796c653d666c61742d737175617265)[![Total Downloads](https://camo.githubusercontent.com/376a9e206103e7f50d4ece4fcab717228e61a53a971cbe25d75c92beb205ef94/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c66612d6465762d7465616d2f61627374726163746170692d67656f2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/alfa-dev-team/abstractapi-geo)

Install
-------

[](#install)

`composer require alfa-dev-team/abstractapi-geo`

`php artisan vendor:publish --provider="AlfaDevTeam\AbstractapiGeo\AbstractapiGeoServiceProvider" --tag="migrations"`

Usage
-----

[](#usage)

Add parameter `ABSTRACTAPI_IP_GEOLOCATION_API_KEY=` to the .env file.
You can then use `Location::getGeoByIp({ip})` to retrieve the location object. After you can call follow method:

- `getCountry();`
- `getCity();`
- `getСoordinates();`

Testing
-------

[](#testing)

Run the tests with:

```
vendor/bin/phpunit
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

1480d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0f3828bf0498dc62d85e7a454176da910aaafb72f40d96301743a183ed7b787a?d=identicon)[alfa-dev-team](/maintainers/alfa-dev-team)

---

Top Contributors

[![GritsayAndriy](https://avatars.githubusercontent.com/u/9847521?v=4)](https://github.com/GritsayAndriy "GritsayAndriy (10 commits)")

---

Tags

laravel

### Embed Badge

![Health badge](/badges/alfa-dev-team-abstractapi-geo/health.svg)

```
[![Health](https://phpackages.com/badges/alfa-dev-team-abstractapi-geo/health.svg)](https://phpackages.com/packages/alfa-dev-team-abstractapi-geo)
```

###  Alternatives

[highideas/laravel-users-online

This package will provide an online users management.

203113.2k1](/packages/highideas-laravel-users-online)[stephenjude/filament-blog

Filament Blog Builder

20317.8k](/packages/stephenjude-filament-blog)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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