kylepretorius / ipchecker-lib
Package to filter through IP Range
Installs: 52
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/kylepretorius/ipchecker-lib
Requires
- php: >=7.0
Requires (Dev)
- phpunit/phpunit: ^6.5
This package is not auto-updated.
Last update: 2025-12-21 10:47:18 UTC
README
Provides a simple API to check if a given IP address is within the specified range.
Installation
Add kylepretorius/ipchecker-lib as a requirement to your composer.json:
$ composer require kylepretorius/ipchecker-lib
Basic Usage
$result = new IPChecker(['192.168.1.0/16', '192.168.10.89/32'])->detect(192.168.1.1);