Functions and constants to play with IP addresses and ranges
1.0.0 2019-06-25 17:43 UTC
A series of utilities for working with IP addresses, both IPv4 and IPv6.
Additional documentation about the library can be found on MediaWiki.org.
use Wikimedia\IPUtils; IPUtils::isIPAddress( '::1' ); IPUtils::isIPv4( '220.127.116.11' );
composer install --prefer-dist composer test