PHPackages                             snipershady/ipapigeolocation - 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. snipershady/ipapigeolocation

ActiveLibrary[API Development](/categories/api)

snipershady/ipapigeolocation
============================

Free wrapper to easily implements ip-api.com free API

v1.0.5-stable(3y ago)2434↓50%GPL-3.0-or-laterPHPPHP &gt;=8.1

Since Sep 24Pushed 3y ago1 watchersCompare

[ Source](https://github.com/snipershady/ip-api-geolocation)[ Packagist](https://packagist.org/packages/snipershady/ipapigeolocation)[ Docs](https://www.spinfo.it)[ RSS](/packages/snipershady-ipapigeolocation/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (7)Used By (0)

ip-api-geolocation
==================

[](#ip-api-geolocation)

Free wrapper to easily implements ip-api.com free API

```
composer require snipershady/ipapigeolocation
```

```
use IPApiGeolocationWrapper\Service\IpInfoRetriever;

class fooClass(){
    public function getIpInfo(): \IPApiGeolocationWrapper\Entity\IpInfo{
          $ipInfoRetriever = new \IPApiGeolocationWrapper\Service\IpInfoRetriever();
          $ip = "8.8.8.8";
          return $ipInfoRetriever->findInfoByIp($ip);
    }
}
```

Return Type
-----------

[](#return-type)

```
IPApiGeolocationWrapper\Entity\IpInfo {#1139 ▼
  -status: "success"
  -continent: "North America"
  -continentCode: "NA"
  -country: "United States"
  -countryCode: "US"
  -region: "VA"
  -regionName: "Virginia"
  -city: "Ashburn"
  -district: ""
  -zip: "20149"
  -latititude: 39.03
  -longitude: -77.5
  -timezone: "America/New_York"
  -offset: -14400
  -currency: "USD"
  -isp: "Google LLC"
  -organizationName: "Google Public DNS"
  -as: "AS15169 Google LLC"
  -asname: "GOOGLE"
  -reverse: "dns.google"
  -mobile: false
  -proxy: false
  -hosting: true
  -query: "8.8.8.8"
}
```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

6

Last Release

1321d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/160662d52c89da3351e2a94b3d354074bf30137477fc7586eeacc52e3cb44462?d=identicon)[snipershady](/maintainers/snipershady)

---

Top Contributors

[![snipershady](https://avatars.githubusercontent.com/u/20489856?v=4)](https://github.com/snipershady "snipershady (20 commits)")

---

Tags

geolocationIP APIip-api.com

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/snipershady-ipapigeolocation/health.svg)

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

###  Alternatives

[geoip2/geoip2

MaxMind GeoIP2 PHP API

2.5k85.4M293](/packages/geoip2-geoip2)[igaster/laravel_cities

Seed all countries/cities from geonames.org database. Searchable DB tree, ready to use API &amp; a bonus vue.js component!

17988.7k1](/packages/igaster-laravel-cities)[jeroendesloovere/geolocation-php-api

This Geolocation PHP class connects to Google Maps API to find latitude/longitude or address.

75316.8k4](/packages/jeroendesloovere-geolocation-php-api)[maxh/php-nominatim

Wrapper for Nominatim API

51396.0k2](/packages/maxh-php-nominatim)

PHPackages © 2026

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