PHPackages                             osd/ip-lookup - 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. osd/ip-lookup

ActiveLibrary[API Development](/categories/api)

osd/ip-lookup
=============

Get IP geolocation data from OSD IP Lookup microservice

1.0.2(5mo ago)0411MITPHPPHP ^8.1

Since Jan 12Pushed 5mo agoCompare

[ Source](https://github.com/oscarvha/ip-lookup)[ Packagist](https://packagist.org/packages/osd/ip-lookup)[ RSS](/packages/osd-ip-lookup/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (5)Versions (4)Used By (1)

IP Lookup for PHP
=================

[](#ip-lookup-for-php)

**Framework-agnostic IP lookup library for PHP that fetches and normalizes IP metadata into rich domain objects.**

This package provides a clean, reusable way to retrieve IP address metadata (ASN, network, geolocation, ownership) and expose it as strongly-typed domain objects.
It is designed to be used in **any PHP environment**: legacy PHP, CLI scripts, or modern frameworks.

---

✨ Features
----------

[](#-features)

- Framework-agnostic (no Laravel, no Symfony required)
- Clean Architecture / DDD-oriented design
- Strongly typed domain models (no raw arrays leaking out)
- Pluggable IP providers
- Explicit dependency injection (no hidden globals)
- Easy to test and extend

---

📦 Installation
--------------

[](#-installation)

```
composer require osd/ip-lookup
```

Basic Usage
-----------

[](#basic-usage)

```
use Osd\IpLookup\Bootstrap\IpLookupFactory;

$service = IpLookupFactory::createDefault();

$lookup = $service->execute('79.150.204.251');

echo $lookup->ip();
echo $lookup->owner()->organization();
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance72

Regular maintenance activity

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

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

Total

3

Last Release

159d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/17102fc93a11c8c715e0bed8eea2f703d9fd0145b1d7b6ab4e608976737a0818?d=identicon)[oscarvha](/maintainers/oscarvha)

---

Top Contributors

[![oscarvha](https://avatars.githubusercontent.com/u/5433991?v=4)](https://github.com/oscarvha "oscarvha (1 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/osd-ip-lookup/health.svg)

```
[![Health](https://phpackages.com/badges/osd-ip-lookup/health.svg)](https://phpackages.com/packages/osd-ip-lookup)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k532.1M19.4k](/packages/laravel-framework)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.8M712](/packages/sylius-sylius)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

232.5k](/packages/eslazarev-wildberries-sdk)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1155.2k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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