captaincore-manager/vendor/rlanvin/php-ip
2022-12-03 05:46:08 -05:00
..
.github/workflows 📦 NEW: Badcow DNS Library 2022-12-03 05:46:08 -05:00
src 📦 NEW: Badcow DNS Library 2022-12-03 05:46:08 -05:00
tests 📦 NEW: Badcow DNS Library 2022-12-03 05:46:08 -05:00
.gitignore 📦 NEW: Badcow DNS Library 2022-12-03 05:46:08 -05:00
.php_cs.dist 📦 NEW: Badcow DNS Library 2022-12-03 05:46:08 -05:00
CHANGELOG.md 📦 NEW: Badcow DNS Library 2022-12-03 05:46:08 -05:00
composer.json 📦 NEW: Badcow DNS Library 2022-12-03 05:46:08 -05:00
LICENSE 📦 NEW: Badcow DNS Library 2022-12-03 05:46:08 -05:00
phpunit.xml.dist 📦 NEW: Badcow DNS Library 2022-12-03 05:46:08 -05:00
README.md 📦 NEW: Badcow DNS Library 2022-12-03 05:46:08 -05:00

PHP IP Library

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

Build status Latest Stable Version Total Downloads

Requirements

  • PHP >= 7.1
  • IPv6 support enabled
  • GMP extension (www.php.net/manual/en/book.gmp.php)

Installation

The recommended way is to install the lib through Composer.

Simply run composer require rlanvin/php-ip for it to be automatically installed and included in your composer.json.

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

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.