cyberline/ip-net-calc
最新稳定版本:v1.0
Composer 安装命令:
composer require cyberline/ip-net-calc
包简介
Compute the common mask from multiple IP addresses
README 文档
README
Compute the common mask from multiple IP addresses
Example
<?php
require_once 'IpNetCalc.php';
// returns: 192.168.0.0/22
$ip = new IpNetCalc\IpNetCalc();
print $ip->calcNetSum(array('192.168.0.1', '192.168.2.40'));
// returns: 2000::/4
print $ip->calcNetSum(array('2a00:1450:8004::69', '2001:1af8:1:f006::6'));
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2014-11-13