Skip to content

Library for calculating subnet masks in classful and CIDR addressing

License

Notifications You must be signed in to change notification settings

Subb98/IPv4-Utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IPv4 Utils

Build Status StyleCI

Description

Library for calculating subnet masks in classful and CIDR addressing.

Features

  • Convert IPv4 address to binary
  • Detection class of IPv4 address
  • Detection default subnet mask
  • Calculating classful subnet mask
  • Calculating CIDR subnet masks (in progress)

System requirements

  • Docker
    or
  • PHP 8.x
  • Composer

Usage

git clone git@github.com/Subb98/ipv4-utils.git
cd ipv4-utils
docker build . -t phpv4-utils:latest
docker run --rm phpv4-utils:latest vendor/bin/phpunit --testdox tests

License

MIT

Releases

No releases published

Packages

No packages published