wenbinye/ipip

get the ip location in Chinese

Maintainers

Details

github.com/wenbinye/ipip

Source

Issues

Installs: 46

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 1

Open Issues: 0

pkg:composer/wenbinye/ipip

v1.0 2016-07-15 03:29 UTC

This package is auto-updated.

Last update: 2025-09-15 20:11:54 UTC


README

Installation

Install via composer ::

composer require wenbinye/ipip

Usage

code example ::

<?php
use ipip\Ip;

var_dump(Ip::getInstance()->find('1.192.94.203'));
// 返回结果
array (size=4)
  0 => string '中国' (length=6)
  1 => string '河南' (length=6)
  2 => string '郑州' (length=6)
  3 => string '' (length=0)