rlanvin/php-ip

IPv4/IPv6 manipulation library for PHP

Maintainers

👁 rlanvin

Package info

github.com/rlanvin/php-ip

pkg:composer/rlanvin/php-ip

Statistics

Installs: 803 007

Dependents: 13

Suggesters: 0

Stars: 179

Open Issues: 13

v3.0.0 2022-03-02 08:51 UTC

Requires

  • php: >=7.1
  • ext-gmp: *

Requires (Dev)

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 7811f12256a5a610ddcb31ed9840179f4dd3784d

ipv6IPipv4


README

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.

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.