PHPackages                             dface/ipv4 - 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. dface/ipv4

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

dface/ipv4
==========

PHP classes for IPv4 address and subnet

2.0.0(5y ago)0229MITPHPPHP ^7.4CI failing

Since May 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/3DFace/ipv4)[ Packagist](https://packagist.org/packages/dface/ipv4)[ RSS](/packages/dface-ipv4/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (0)

dface/ipv4
==========

[](#dfaceipv4)

PHP classes for IPv4 address and subnet.

Setup
-----

[](#setup)

```
composer require dface/ipv4

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

2160d ago

Major Versions

1.0.0 → 2.0.02020-08-03

PHP version history (2 changes)1.0.0PHP &gt;=5.6.0

2.0.0PHP ^7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/faaef133956fbef7d0c35eb2b65aafd88e741240c11b6f55b7d5fda04125c0cf?d=identicon)[3DFace](/maintainers/3DFace)

---

Top Contributors

[![3DFace](https://avatars.githubusercontent.com/u/1931471?v=4)](https://github.com/3DFace "3DFace (6 commits)")

---

Tags

IPipv4

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dface-ipv4/health.svg)

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

###  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)[markrogoyski/ipv4-subnet-calculator

Network calculator for subnet mask and other classless (CIDR) network information.

175852.6k14](/packages/markrogoyski-ipv4-subnet-calculator)[rlanvin/php-ip

IPv4/IPv6 manipulation library for PHP

180803.8k12](/packages/rlanvin-php-ip)[longman/ip-tools

PHP IP Tools for manipulation with IPv4 and IPv6

147256.8k7](/packages/longman-ip-tools)

PHPackages © 2026

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