解析IP地址,使用 [ipip.net](http://www.ipip.net/) 的服务。

v1.1 2018-11-18 04:10 UTC

This package is auto-updated.

Last update: 2024-05-18 17:16:37 UTC


README

解析IP地址,使用 ipip.net 的服务。

安装

  1. 安装包文件

    $ composer require jormin/ip

使用

  1. 代码中使用

    获取地址数组

    Jormin\IP\IP:ip2addr('your ip');

    获取地址字符串

    Jormin\IP\IP:ip2addr('your ip', 'your glue');

License

The MIT License (MIT). Please see License File for more information.