lemonphp / ip-lib

A library for working with IP address and network

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Build Status Coverage Status

A library for working with IP address

Main features

  • Parse an IP, IP Range, Network from multi formats.
  • Converts between formats of IP.
  • Allow validate an IP address.
  • Allow check a Network or an IP Range contains an IP, a Network or an IP Range.
  • Unit test and 100% code coverage

Requirements

  • php >=5.5.9

Installation

Using composer to install

$ composer require lemonphp/ip-lib:dev-master

Usage

// TODO: How to use

Changelog

See all change logs in CHANGELOG.md

Contributing

All code contributions must go through a pull request and approved by a core developer before being merged. This is to ensure proper review of all the code.

Fork the project, create a feature branch, and send a pull request.

To ensure a consistent code base, you should make sure the code follows the PSR-2.

If you would like to help take a look at the list of issues.

License

This project is released under the MIT License.
Copyright © 2015-2016 LemonPHP Team.

About

A library for working with IP address and network

License:MIT License


Languages

Language:PHP 100.0%