PHPackages                             zmog/ipstacker - 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. zmog/ipstacker

ActiveLibrary[API Development](/categories/api)

zmog/ipstacker
==============

Ip Stack Api Call Wrapper

0.0.3(4y ago)01.3kPHPPHP ^7.0

Since Jul 10Pushed 4y ago1 watchersCompare

[ Source](https://github.com/Gizmo091/ipstacker)[ Packagist](https://packagist.org/packages/zmog/ipstacker)[ RSS](/packages/zmog-ipstacker/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (3)DependenciesVersions (5)Used By (0)

ipstacker
=========

[](#ipstacker)

Ip Stack Api Call Wrapper

Usage Exemples :
================

[](#usage-exemples-)

Basic Usage :
-------------

[](#basic-usage-)

```
$Response = (new \Zmog\Libs\IpStacker\Request('', ''))->Response();

$country_code = $Response->country_code(); /* Throw an exception if country_code is not present in response */
$country_code = $Response->country_code('US'); /* Use 'US' as default value if country_code is not present in response (no exception are thrown */
```

### Advanced Usage :

[](#advanced-usage-)

```
$ip_a = [
    '8.8.8.8',
    '1.1.1.1',
    ];

$Request = new \Zmog\Libs\IpStacker\Request('', ...$ip_a);
$Request->onlyLocation();
$Request->addCurrency();
/* Or chained method
$Request = (new \Zmog\Libs\IpStacker\Request('', ...$ip_a))->onlyLocation()->addCurrency();
*/

/* Result of first ip : */
$is_eu_8dot = $Request->Response('8.8.8.8')->location()->is_eu(false);
/* or
$is_eu_8dot = $Request->Response()->location()->is_eu(false);
*/

/* Result of second ip */
$is_eu_1dot = $Request->Response('1.1.1.1')->location()->is_eu(false);
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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 ~522 days

Total

3

Last Release

1824d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6045f24a5a5342628edcac98302f5ab2a6e4acfba94e79876730da54424e177d?d=identicon)[Mathieu Vedie](/maintainers/Mathieu%20Vedie)

---

Top Contributors

[![Gizmo091](https://avatars.githubusercontent.com/u/289745?v=4)](https://github.com/Gizmo091 "Gizmo091 (17 commits)")

### Embed Badge

![Health badge](/badges/zmog-ipstacker/health.svg)

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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