PHPackages                             slvler/whoami - 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. slvler/whoami

ActiveLibrary[API Development](/categories/api)

slvler/whoami
=============

ip-api.com API wrapper for Laravel

v1.1.2(1y ago)821MITPHPPHP ^8.0.2

Since Jun 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/slvler/whoami)[ Packagist](https://packagist.org/packages/slvler/whoami)[ Docs](https://github.com/slvler/whoami)[ RSS](/packages/slvler-whoami/feed)WikiDiscussions main Synced yesterday

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

slvler - Ip-api Service
=======================

[](#slvler---ip-api-service)

[![tests](https://github.com/slvler/whoami/actions/workflows/tests.yml/badge.svg)](https://github.com/slvler/whoami/actions/workflows/tests.yml)[![Latest Stable Version](https://camo.githubusercontent.com/a0ba7af7a2a0012e53018483997adabd88a28f6fdcc7d1c1e35371643c759a57/68747470733a2f2f706f7365722e707567782e6f72672f736c766c65722f77686f616d692f76)](https://packagist.org/packages/slvler/whoami)[![Latest Unstable Version](https://camo.githubusercontent.com/8fe9c0451e9ae3996a30c603d29a5d7106f95141d622503161fd14b326097a94/68747470733a2f2f706f7365722e707567782e6f72672f736c766c65722f77686f616d692f762f756e737461626c65)](https://packagist.org/packages/slvler/whoami)[![License](https://camo.githubusercontent.com/cd33996f3e491352312ca1136c17f08df6308b765753605b520c9363bf75780d/68747470733a2f2f706f7365722e707567782e6f72672f736c766c65722f77686f616d692f6c6963656e7365)](https://packagist.org/packages/slvler/whoami)[![Total Downloads](https://camo.githubusercontent.com/eab2cc880695338cf1863ff8b664180c4ba99d104eeb5278b249689cef7df098/68747470733a2f2f706f7365722e707567782e6f72672f736c766c65722f77686f616d692f646f776e6c6f616473)](https://packagist.org/packages/slvler/whoami)

This package provides a convenient wrapper to the [Ip API](https://ip-api.com/docs) for Laravel applications.

Requirements
------------

[](#requirements)

- PHP 8.0+
- Laravel 10.x | 9.x

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

[](#installation)

To install this package tou can use composer:

```
composer require slvler/whoami
```

Usage
-----

[](#usage)

### Import the facade in your class.

[](#import-the-facade-in-your-class)

```
use Whoami;
```

### send a request to get ip information details

[](#send-a-request-to-get-ip-information-details)

```
Whoami::get("127.0.0.1")->result();
```

### send a request to filter some details in the ip information

[](#send-a-request-to-filter-some-details-in-the-ip-information)

```
Whoami::get("127.0.0.1")->filter(['status','message','country','zip','query'])->result();
```

### Testing

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [slvler](https://github.com/slvler)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/slvler/whoami/blob/main/LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity12

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

Recently: every ~28 days

Total

6

Last Release

621d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ab8128832fb3e8a0d513453a903d7c49475f5f89dbf7ec39cf1d0518026b7ea?d=identicon)[slvler](/maintainers/slvler)

---

Top Contributors

[![selviler](https://avatars.githubusercontent.com/u/56368718?v=4)](https://github.com/selviler "selviler (9 commits)")

---

Tags

phplaravelIP API

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/slvler-whoami/health.svg)

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

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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