Registry / networking / s1lentium-iptools

s1lentium-iptools

JSON →
library1.2.0phppackagistunverified

PHP Library for manipulating network addresses (IPv4 and IPv6)

composer require s1lentium/iptools
INSTALL
IMPORT
SIG · S1LENTIUM-IPTOOLS
S
s1lentium-iptools
networkingphpv1.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Network
use IPTools\Network;

Parse a CIDR notation and get the network address

use IPTools\Network; $network = Network::parse('192.168.1.0/24'); echo $network->getCIDR();
Debug
Known issues
gotchaIPv6 support may have edge cases with certain notations
fix
Test with various IPv6 formats and consider using built-in PHP functions for validation
affects: >=1.0.0
Upgrade
Version history
1.2.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
s1lentium-iptools — pip install s1lentium-iptools · libregistry