Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-08T18:19:27.000Z (about 3 years ago)
- Last Synced: 2024-11-07T09:39:35.786Z (3 months 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
[![Build Status](https://api.travis-ci.com/Subb98/IPv4-Utils.svg?branch=master)](https://app.travis-ci.com/github/Subb98/IPv4-Utils)
[![StyleCI](https://styleci.io/repos/445891024/shield)](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 [email protected]/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