dautkom/php.ipv4 (packagist): PHP library for work with IPv4 addresses, subnets and masks
Keywords: IP|ipv4|subnet|mask|ip-address