PHPackages                             arimolzer/ipstack - 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. arimolzer/ipstack

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

arimolzer/ipstack
=================

Laravel package for geolocation using the IPStack API

00PHP

Since Feb 12Pushed 1y ago1 watchersCompare

[ Source](https://github.com/arimolzer/ipstack)[ Packagist](https://packagist.org/packages/arimolzer/ipstack)[ RSS](/packages/arimolzer-ipstack/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

IPStack
=======

[](#ipstack)

[![Build Status](https://github.com/arimolzer/ipstack/actions/workflows/run-tests.yml/badge.svg)](https://github.com/arimolzer/ipstack/actions/workflows/run-tests.yml/badge.svg)[![StyleCI](https://camo.githubusercontent.com/2fa12a14a5b2b2cfc35e2a20cb45c744bf249defe0b5cb30f4af25e136d1f9c9/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3932343631343239352f736869656c64)](https://camo.githubusercontent.com/2fa12a14a5b2b2cfc35e2a20cb45c744bf249defe0b5cb30f4af25e136d1f9c9/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3932343631343239352f736869656c64)[![Packagist](https://camo.githubusercontent.com/b38045908b377709532f0b7629da49873a88fe80286e55c365018d1ccf4bb1d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6172696d6f6c7a65722f6970737461636b)](https://camo.githubusercontent.com/b38045908b377709532f0b7629da49873a88fe80286e55c365018d1ccf4bb1d5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6172696d6f6c7a65722f6970737461636b)

This package has been created as a simple facade to access the [IPStack](https://ipstack.com/) API.

Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

Getting started with IPStack is easy, first install the package via Composer:

```
composer require arimolzer/ipstack
```

Then, optionally, publish the package configuration.

```
php artisan vendor:publish --provider="Arimolzer\IPStack\IPStackServiceProvider"
```

Then, you can set your environmental variables:

VariableDescriptionDefaultIPSTACK\_API\_KEYAPI Key For IP Stack`null`IPSTACK\_BASE\_URIBase URL for the APIIPSTACK\_DEFAULT\_TESTING\_IPThe default IP to be used by tests for a successful response134.201.250.155Usage
-----

[](#usage)

#### Single IP Lookup

[](#single-ip-lookup)

To lookup the geolocation of a single IP address:

```
use \Arimolzer\IPStack\Facades\IPStack;

IPStack::get('134.201.250.155')
```

#### Bulk IP Address lookup

[](#bulk-ip-address-lookup)

IP Stack supports bulk IP lookups, with a maximum of 50 addresses. Simply pass through an array of IP addresses to the `getBulk` method.

Important

The 'Professional' subscription tier is required to access the bulk endpoint.

```
IPStack::getBulk(['134.201.250.155' ,'72.229.28.185', '110.174.165.78'])
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Ari Molzer](https://github.com/arimolzer)
- [All Contributors](https://github.com/arimolzer/ipstack/graphs/contributors)

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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://avatars.githubusercontent.com/u/22068367?v=4)[Ari Molzer](/maintainers/arimolzer)[@arimolzer](https://github.com/arimolzer)

---

Top Contributors

[![arimolzer](https://avatars.githubusercontent.com/u/22068367?v=4)](https://github.com/arimolzer "arimolzer (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

geolocationipstacklaravellaravel-packagephp8

### Embed Badge

![Health badge](/badges/arimolzer-ipstack/health.svg)

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

###  Alternatives

[vitalets/x-editable

In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.

6.5k18.6k1](/packages/vitalets-x-editable)

PHPackages © 2026

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