PHPackages                             zjj/location-ip - 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. zjj/location-ip

ActiveLibrary

zjj/location-ip
===============

支持高德、腾讯位置服务IP定位

v1.0.0.x-dev(2y ago)115MITPHPPHP &gt;=7.0

Since Sep 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/zhangjiajing/LocationIP)[ Packagist](https://packagist.org/packages/zjj/location-ip)[ RSS](/packages/zjj-location-ip/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

LocationIP
==========

[](#locationip)

Location IP

```
// 网站访问IP获取
$response = (new LocationIP([
    'pt' => 'gd', // tx 腾讯 gd 高德
    'key' => 'xxx'
]))->getLocation($ip);

```

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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

970d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7dc7b9aa62a2341d729764ec76e6942802bc8e49647b660b27c3161984f941be?d=identicon)[zhangjiajing](/maintainers/zhangjiajing)

---

Top Contributors

[![zhangjiajing](https://avatars.githubusercontent.com/u/10009145?v=4)](https://github.com/zhangjiajing "zhangjiajing (11 commits)")

### Embed Badge

![Health badge](/badges/zjj-location-ip/health.svg)

```
[![Health](https://phpackages.com/badges/zjj-location-ip/health.svg)](https://phpackages.com/packages/zjj-location-ip)
```

###  Alternatives

[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k20](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3731.2M42](/packages/tencentcloud-tencentcloud-sdk-php)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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