kylepretorius/ipchecker-lib

Package to filter through IP Range

Maintainers

Package info

github.com/kylerosspretorius/ipchecker-lib

pkg:composer/kylepretorius/ipchecker-lib

Statistics

Installs: 52

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.0 2018-02-14 14:50 UTC

This package is not auto-updated.

Last update: 2026-03-15 12:02:58 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);