IPTools
IPTools copied to clipboard
PHP Library for manipulating network addresses (IPv4 and IPv6)
this PR updates the codebase to be compatible with php8, after this we can start to use php8 features like type hints etc. fixes : https://github.com/S1lentium/IPTools/issues/38
Hey, thanks for this library. This PR makes several improvements: * PHP 8.0/8.1 compatibility * Updated PHPUnit * Fix test cases * Added tests folder to `autoload-dev` * Add Psalm...
There are some very useful commit on master that are not release, like the fix for PHP 8.1 e1b7bd3 Thanks
Hi there, seems that the IPTools already have support of php8.1, but you must tag that version
Hi! I (we) find the library very useful. I am missing one feature though, for it to completely fulfill my "IP needs". Would you be open to accepting a pull...
How to install without Composer?
Previous code checked for `/` first, so a range such as ``` 127.0.0.0/24-127.0.3.0/24 ``` would be parsed as a network which would then split on '/' to determine the IP...
Hello I found this $subnets = Network::parse('192.168.0.0/22')->splitEqual('24'); foreach ($network as $ip) { // 192.168.0.0/24 // 192.168.1.0/24 // 192.168.2.0/24 // 192.168.3.0/24 } How to merge 4 new subnets to single subnet...
Given a network in CIDR notation (v4 and v6), is there a means to return certain artifacts without generating the entire array? (For large networks - especially IPv6, this could...
removed not need tests/bootstrap.php, because of we are using composer autoload section we don't need it.