IPUtils

IPUtils is a PHP library for the parsing and formatting of IPv4/IPv6 addresses and CIDR ranges. It internally uses the library.