Skip to content

rlanvin/php-ip

Repository files navigation

PHP IP Library

IPv4/IPv6 manipulation library for PHP inspired by Python ipaddress.

Build Status Latest Stable Version Total Downloads

Requirements

Installation

The recommended way is to install the lib through Composer.

Just add this to your composer.json file (change the version by the release you want, or use dev-master for the development version):

{
    "require": {
        "rlanvin/php-ip": "1.*"
    }
}

Then run composer install or composer update.

Now you can use the autoloader, and you will have access to the library:

<?php
require 'vendor/autoload.php';

Documentation

Complete doc is available in the wiki.

Contribution

Feel free to contribute! Just create a new issue or a new pull request.

License

This library is released under the MIT License.

About

IPv4/IPv6 manipulation library for PHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages