Version 1.2 of Yii Network Utilities package has been released. Here is the list of changes included in the new version:
- Added
IP_PATTERN
andIP_REGEXP
constants toIpHelper
for checking IP of both IPv4 and IPv6 versions. - Added
NEGATION_CHARACTER
constant toIpRanges
used to negate ranges. - Added
isIpv4()
,isIpv6()
,isIp()
methods toIpHelper
.