PHPackages                             softronicve/ipquery-laravel - 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. softronicve/ipquery-laravel

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

softronicve/ipquery-laravel
===========================

Laravel package for ipquery.io

v1.2.0(9mo ago)024MITPHPPHP ^8.2

Since Aug 2Pushed 9mo agoCompare

[ Source](https://github.com/softronicve/ipquery-laravel)[ Packagist](https://packagist.org/packages/softronicve/ipquery-laravel)[ Docs](https://github.com/softronicve/ipquery-laravel)[ RSS](/packages/softronicve-ipquery-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (5)Used By (0)

Unofficial IpQuery wrapper for Laravel
======================================

[](#unofficial-ipquery-wrapper-for-laravel)

With this wrapper you can get information from an IP FREE

### Getting Started

[](#getting-started)

You don't need an API KEY or any other configuration, it's very easy

#### Installation

[](#installation)

```
composer require softronicve/ipquery-laravel
```

Open your application's `\app\Http\Kernel.php` file and add the following to the `Kernel::middleware` property:

```
protected $middleware = [
    ...
    \Softronic\Ipquery\Middleware\IpqueryMiddleware::class,
];
```

### Laravel 12 Configuration

[](#laravel-12-configuration)

Open your application's `\bootstrap\providers.php` file and add the following to your array:

```
return [
    ...
    \Softronic\Ipquery\IpqueryServiceProvider::class,
];
```

#### Quick Start

[](#quick-start)

```
Route::get('/testIpquery', function (Request $request) {
    return $request->ipquery;
});
```

will return the following json with your IP requested:

```
>>> $request->ipquery
{
  "ip": "1.1.1.1",
  "isp": {
    "asn": "AS13335",
    "org": "Cloudflare, Inc.",
    "isp": "Cloudflare, Inc."
  },
  "location": {
    "country": "Australia",
    "country_code": "AU",
    "city": "Sydney",
    "state": "New South Wales",
    "zipcode": "1001",
    "latitude": -33.8545484001867,
    "longitude": 151.200162009128,
    "timezone": "Australia/Sydney",
    "localtime": "2025-08-03T13:38:55"
  },
  "risk": {
    "is_mobile": false,
    "is_vpn": false,
    "is_tor": false,
    "is_proxy": false,
    "is_datacenter": true,
    "risk_score": 0
  }
}
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance58

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

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

4

Last Release

279d ago

PHP version history (2 changes)v1.0.0-betaPHP ^8.0

1.1.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2480ff21bea003a10a5b6b380a599d190d9c16f26f5a50313811d901bbb0aa73?d=identicon)[softronicve](/maintainers/softronicve)

---

Top Contributors

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

---

Tags

laravelipqueryipquerylaravel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/softronicve-ipquery-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/softronicve-ipquery-laravel/health.svg)](https://phpackages.com/packages/softronicve-ipquery-laravel)
```

###  Alternatives

[spatie/laravel-enum

Laravel Enum support

3655.4M31](/packages/spatie-laravel-enum)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[dragon-code/pretty-routes

Pretty Routes for Laravel

10058.7k4](/packages/dragon-code-pretty-routes)[erlandmuchasaj/laravel-gzip

Gzip your responses.

40129.3k2](/packages/erlandmuchasaj-laravel-gzip)

PHPackages © 2026

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