Download the PHP package mesour/ip-addresses without Composer
On this page you can find all versions of the php package mesour/ip-addresses. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download mesour/ip-addresses
More information about mesour/ip-addresses
Files in mesour/ip-addresses
Download mesour/ip-addresses
More information about mesour/ip-addresses
Files in mesour/ip-addresses
Vendor mesour
Package ip-addresses
Short Description IP address normalizer and validator. For IPv4 and IPv6.
License MIT
Package ip-addresses
Short Description IP address normalizer and validator. For IPv4 and IPv6.
License MIT
Please rate this library. Is it a good library?
Informations about the package ip-addresses
Mesour IP addresses
- IP address normalizer and validator. For IPv4 and IPv6.
Install
Usage
Usage: Mesour\IpAddresses\IpAddressValidator
Usage: Mesour\IpAddresses\IpAddressNormalizer
Normalize IPv6:
Compress IPv6:
Usage: Mesour\IpAddresses\IpAddress
Normalize IPv4:
Normalize IPv6:
- Result of
getValue
is compressed IPv6 value
Development
- Syntax check:
vendor/bin/parallel-lint src tests
- PHP Stan:
vendor/bin/phpstan analyse -l 7 -c phpstan.neon src tests
- Run tests:
vendor/bin/tester -p php tests/ -s -c tests/php.ini
All versions of ip-addresses with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.0
The package mesour/ip-addresses contains the following files
Loading the files please wait ....