NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3939 most downloaded on Packagist
Parse, match, and analyze IP addresses and CIDR ranges
Latest stable
6.0.1
Last release 10 months ago
23 Jan 2026
Release timing varies
gaps range from 2 months to 2.2 years
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
10 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Optimize IPSet::addCidr by reducing allocations and ord() calls (Ori Livneh)
IPSet::addCidr by reducing allocations and ord() calls (Ori Livneh)Require PHP 8.1 or later (James D. Forrester)
ext-json in composer.json (Reedy)IPUtils::isInRanges by removing redundant calls for a 3X speed-up (Ori Livneh)IPUtils::isInRanges by removing redundant false check in parseCIDR6 (Sam Reed)IPUtils::isInRanges by removing extra case for CIDR /0 in parseCIDR (Umherirrender)IPUtils::isInRange by removing redundant sanitize call (Ori Livneh)::getIPsInRange by using str_split in hexToOctet/hexToQuad (Umherirrender)Your coding agent can read these notes before it upgrades. Set up the MCP server →
Require PHP 7.4 or later (Timo Tijhof)
Allow wikimedia/ip-set ^4.0.0 (Timo Tijhof)
Change-Id: Id790371e4c24930065ba33f6e5a68ed270226a6c
Change-Id: Id790371e4c24930065ba33f6e5a68ed270226a6c
Optimize IPUtils::canonicalize by removing redundant strpos/substr call (Reedy)
IPUtils::canonicalize by removing redundant strpos/substr call (Reedy)Revert "Stop allowing invalid /0 subnet" (Reedy) T267997
Major version bump in ip-set due to bumping min required PHP version to >= 7.2.9.
Major version bump in ip-set due to bumping min
required PHP version to >= 7.2.9.
Bug: T271575
Change-Id: I3b731119a4b5865f2c2d3f48ac9c882a554238ff
IPUtils::getIPsInRange to retrieve all IPs in a range (Ammar Abdulhamid)isValidIPv4 and isValidIPv6 to cast return value to bool (Reedy)Remove PHP 7.0/7.1 and HHVM support (James D. Forrester)
IPUtils::isValidRange by checking IPv4 before IPv6 (Reedy)[string, string] (Reedy)Initial import from MediaWiki core (Kunal Mehta)
One column per quarter.