PHPackages                             strongdonkey/iplocator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. strongdonkey/iplocator

ActiveLibrary

strongdonkey/iplocator
======================

A tool for Convert IP address to location

1.1(5y ago)017Apache-2.0PHPPHP &gt;=5.6.0

Since Aug 4Pushed 5y ago1 watchersCompare

[ Source](https://github.com/strongdonkey/iplocator)[ Packagist](https://packagist.org/packages/strongdonkey/iplocator)[ RSS](/packages/strongdonkey-iplocator/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

IP地址转地理位置工具
===========

[](#ip地址转地理位置工具)

### 数据采用纯真数据， 感谢CZ88多年以来的IP数据贡献

[](#数据采用纯真数据httpwwwcz88netip-感谢cz88多年以来的ip数据贡献)

### 当前数据库版本：2020-07-30

[](#当前数据库版本2020-07-30)

```
require_once 'vendor/autoload.php';

use Strongdonkey\IPLocator\Locator;

var_dump(Locator::find('52.206.227.240'));

//返回值
array(4) {
  ["beginip"]=>
  string(10) "52.200.0.0"     //当前IP段起始
  ["endip"]=>
  string(14) "52.207.255.255" //当前IP段结束
  ["country"]=>
  string(6) "美国"            //国家或地区
  ["area"]=>
  string(42) "弗吉尼亚州阿什本Amazon数据中心" //所属单位或运营商
}
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2104d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/50095922?v=4)[StrongDonkey](/maintainers/strongdonkey)[@strongdonkey](https://github.com/strongdonkey)

---

Top Contributors

[![strongdonkey](https://avatars.githubusercontent.com/u/50095922?v=4)](https://github.com/strongdonkey "strongdonkey (7 commits)")[![wcracker](https://avatars.githubusercontent.com/u/5133942?v=4)](https://github.com/wcracker "wcracker (1 commits)")

---

Tags

locationipaddressconvertor

### Embed Badge

![Health badge](/badges/strongdonkey-iplocator/health.svg)

```
[![Health](https://phpackages.com/badges/strongdonkey-iplocator/health.svg)](https://phpackages.com/packages/strongdonkey-iplocator)
```

###  Alternatives

[torann/geoip

Support for multiple Geographical Location services.

2.2k14.2M77](/packages/torann-geoip)[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[spatie/geocoder

Geocoding addresses to coordinates

8404.8M15](/packages/spatie-geocoder)[zoujingli/ip2region

ip2region v3.0 for PHP - 企业级 IP 地理位置查询库，支持 IPv4 和 IPv6，多种缓存策略，零依赖，开箱即用

1.4k437.1k56](/packages/zoujingli-ip2region)[kigkonsult/icalcreator

iCalcreator is the PHP implementation of rfc2445/rfc5545 and rfc updates, management of calendar information

2462.6M16](/packages/kigkonsult-icalcreator)[spatie/google-time-zone

Get time zones for coordinates

110660.6k1](/packages/spatie-google-time-zone)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
