icovn/php-ip-filter

Small lib to check if a IP is in multiple range or not

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/icovn/php-ip-filter

dev-master 2016-01-17 16:15 UTC

This package is not auto-updated.

Last update: 2025-10-01 23:04:53 UTC


README

Small lib to check if a IP is in multiple range or not

Example:
$filter = new IpFilter(array('10.22.0.0 255.255.0.0','10.24.0.0 255.255.0.0','10.26.0.0 255.255.0.0','10.28.0.0 255.255.0.0'));
$result = $filter -> check('10.28.255.1');