IP Address Calculation Classes
IP Calculator library for PHP
This code is heavily based on the IPCalc Python library (https://github.com/tehmaze/ipcalc)
- PHP 7.4 or higher
Install the module:
$ php composer.phar require slacker775/ipcalc
NOTE: While there is some stubbed in support for IPv6, there currently is NO functional IPv6 capability with this library.