PHPackages                             lamoni/ipsuite - 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. lamoni/ipsuite

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

lamoni/ipsuite
==============

PHP utilities for dealing with IPv4 and IPv6 addresses

v1.0.0(11y ago)155MITPHPPHP &gt;= 5.4.16

Since Feb 9Pushed 11y agoCompare

[ Source](https://github.com/lamoni/ipsuite)[ Packagist](https://packagist.org/packages/lamoni/ipsuite)[ Docs](https://github.com/lamoni/ipsuite)[ RSS](/packages/lamoni-ipsuite/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

IP Suite
--------

[](#ip-suite)

PHP utilities for dealing with IPv4 and IPv6

Examples
--------

[](#examples)

```
echo IPSuite::GetIPv4NetworkAddress("192.168.0.1/24"); // 192.168.0.0

echo IPSuite::NormalizeIPv6Address("::1"); // 0000:0000:0000:0000:0000:0000:0000:0001

if (IPSuite::IsIPv4SubnetWithinSupernet("192.168.0.0/24", "192.168.0.0/16")) {
    echo "Yes!";
}
else {
    echo "Nope!";
}

if (IPSuite::IsIPv4AddressWithinSubnet("192.168.0.100", "192.168.0.0/24")) {
    echo "Yes!";
}
else {
    echo "Nope!";
}
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

4163d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5675626?v=4)[Lamoni Finlayson](/maintainers/lamoni)[@lamoni](https://github.com/lamoni)

---

Top Contributors

[![lamoni](https://avatars.githubusercontent.com/u/5675626?v=4)](https://github.com/lamoni "lamoni (5 commits)")

---

Tags

phpipv6ipv4networkinginternet protocol

### Embed Badge

![Health badge](/badges/lamoni-ipsuite/health.svg)

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

###  Alternatives

[zoujingli/ip2region

ip2region v3.0 for PHP - 企业级 IP 地理位置查询库，支持 IPv4 和 IPv6，多种缓存策略，零依赖，开箱即用

1.4k475.0k67](/packages/zoujingli-ip2region)[mlocati/ip-lib

Handle IPv4, IPv6 addresses and ranges

3167.3M68](/packages/mlocati-ip-lib)[s1lentium/iptools

PHP Library for manipulating network addresses (IPv4 and IPv6)

2446.6M28](/packages/s1lentium-iptools)[rlanvin/php-ip

IPv4/IPv6 manipulation library for PHP

180803.8k12](/packages/rlanvin-php-ip)[tholu/php-cidr-match

CIDRmatch is a library to match an IP to an IP range in CIDR notation (IPv4 and IPv6).

35228.9k](/packages/tholu-php-cidr-match)[jalle19/php-whitelist-check

Provides a simple way to check whether an address or domain is on a whitelist

45796.8k4](/packages/jalle19-php-whitelist-check)

PHPackages © 2026

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