2017 © Pedro Peláez
 

library ip-net-calc

Compute the common mask from multiple IP addresses

image

cyberline/ip-net-calc

Compute the common mask from multiple IP addresses

  • Tuesday, May 24, 2016
  • by CyberLine
  • Repository
  • 1 Watchers
  • 1 Stars
  • 10 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

IpNetCalc

Scrutinizer Code Quality Build Status SensioLabsInsight Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Compute the common mask from multiple IP addresses, (*2)

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'));

The Versions

24/05 2016

dev-master

9999999-dev https://github.com/CyberLine/IpNetCalc

Compute the common mask from multiple IP addresses

  Sources   Download

proprietary

The Requires

  • php >=5.4.0

 

The Development Requires

by Alexander Over

14/11 2014

v1.0

1.0.0.0 https://github.com/CyberLine/IpNetCalc

Compute the common mask from multiple IP addresses

  Sources   Download

proprietary

The Requires

  • php >=5.4.0

 

by Alexander Over