PHPackages                             swx/geocoder - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. swx/geocoder

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

swx/geocoder
============

国内省市区镇经纬度反查

v3(4y ago)1211Apache-2.0PHPPHP &gt; 7.0

Since Jan 4Pushed 4y ago1 watchersCompare

[ Source](https://github.com/swoolex/geocoder)[ Packagist](https://packagist.org/packages/swx/geocoder)[ Docs](https://www.sw-x.cn/)[ RSS](/packages/swx-geocoder/feed)WikiDiscussions main Synced today

READMEChangelog (3)DependenciesVersions (7)Used By (0)

swoolex
=======

[](#swoolex)

[SW-X官方地址](https://www.sw-x.cn/ "SW-X官方地址")

### 介绍

[](#介绍)

Geocoder组件为SW-X框架的官方扩展包，是对国内经纬度进行省市区乡镇的4级地址反解析，除了支持SW-X框架环境下运行外，也支持常用的FPM框架。

训练库更新于`2022-1-4`号，对省市区三等级行政区域解析率达100%，对乡镇级解析率达90%，1-3线城市成功率达100%。

若有地区进行，可告知SW-X开发组成员进行更新维护。

注意，开源包中不包含乡镇级解析库数据，仅开源了省市区数据，若需要乡镇级解析库，可联系作者小黄牛进行获取。

### 文档地址

[](#文档地址)

[文档地址](https://www.sw-x.cn/word/v2.5.x/geocoder.html "文档地址")

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 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

Every ~0 days

Total

6

Last Release

1641d ago

Major Versions

v1.x-dev → v2.x-dev2022-01-04

v2.x-dev → v3.x-dev2022-01-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/1dac8beae80662475ae63d3e3ebe5c1e960697102dd3999656a53666d50a5d6d?d=identicon)[swoole](/maintainers/swoole)

---

Top Contributors

[![swoolex](https://avatars.githubusercontent.com/u/66401258?v=4)](https://github.com/swoolex "swoolex (6 commits)")

---

Tags

swooleswoolexsw-xswoole-xswx-geocoder

### Embed Badge

![Health badge](/badges/swx-geocoder/health.svg)

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

###  Alternatives

[swoolex/swoolex

the new swoolex

14111.1k](/packages/swoolex-swoolex)[hyperf/di

A DI for Hyperf.

173.0M691](/packages/hyperf-di)[hyperf/crontab

A crontab component for Hyperf.

131.7M77](/packages/hyperf-crontab)

PHPackages © 2026

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