https://github.com/subb98/ipv4-utils
Library for calculating subnet masks in classful and CIDR addressing
https://github.com/subb98/ipv4-utils
addressing calculator cidr classful helper host ip ipv4 mask network subnet utilities utility utils
Last synced: 3 months ago
JSON representation
Library for calculating subnet masks in classful and CIDR addressing
- Host: GitHub
- URL: https://github.com/subb98/ipv4-utils
- Owner: Subb98
- License: mit
- Created: 2022-01-08T17:57:41.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-08T18:19:27.000Z (about 4 years ago)
- Last Synced: 2024-12-27T20:44:52.075Z (about 1 year ago)
- Topics: addressing, calculator, cidr, classful, helper, host, ip, ipv4, mask, network, subnet, utilities, utility, utils
- Language: PHP
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IPv4 Utils
[](https://app.travis-ci.com/github/Subb98/IPv4-Utils)
[](https://styleci.io/repos/445891024)
## 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