PHPackages                             wfxiang08/geoip - 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. [Framework](/categories/framework)
4. /
5. wfxiang08/geoip

ActiveProject[Framework](/categories/framework)

wfxiang08/geoip
===============

geip ip rpc service

0.0.7-stable(8y ago)0106BSD-3-ClauseGo

Since Oct 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/wfxiang08/geoip)[ Packagist](https://packagist.org/packages/wfxiang08/geoip)[ Docs](https://github.com/wfxiang08/geoip.git)[ RSS](/packages/wfxiang08-geoip/feed)WikiDiscussions master Synced 1mo ago

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

geoip rpc
=========

[](#geoip-rpc)

- 基于GeoIP2-City.mmdb实现从ip到geo信息的映射
- 服务器采用golang开发，并且通过rpc对外提供服务

Geoip服务运行:
----------

[](#geoip服务运行)

- cd geoip/src
- source start\_env.sh
- glide install
- go build cmd/service\_geoip.go
- 运行:
    - 配合rpc\_proxy框架运行，会自动将服务注册到zk中; 为长连接模式下的请求而优化
        - ./service\_geoip -c config-service.ini
    - 独立运行，不依赖zookeeper
        - ./service\_geoip -c config-standalone.ini
- Php版本的Client:
    - cd geoip
    - composer install
    - php test\_rpc\_client.php
    - 注意: autoload.php的使用

发布
--

[](#发布)

-
- git tag -a 0.0.1-stable -m"添加新功能"
- git push origin 0.0.2-stable
- git push origin :0.0.1-stable 删除旧的版本
- 在  上面更新

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

3134d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b6148939d72ff559f66501672d6b4561c564a26ec9c31dcd1c10b8c64e4760a?d=identicon)[wfxiang08](/maintainers/wfxiang08)

---

Tags

frameworkrpcthrift

### Embed Badge

![Health badge](/badges/wfxiang08-geoip/health.svg)

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

###  Alternatives

[hprose/hprose

It is a modern, lightweight, cross-language, cross-platform, object-oriented, high performance, remote dynamic communication middleware. It is not only easy to use, but powerful. You just need a little time to learn, then you can use it to easily construct cross language cross platform distributed application system.

2.1k215.3k37](/packages/hprose-hprose)[twirp/twirp

PHP port of Twitch's Twirp RPC framework

1591.0M5](/packages/twirp-twirp)[hprose/hprose-swoole

Hprose asynchronous client &amp; standalone server based on swoole

17928.9k5](/packages/hprose-hprose-swoole)[pestphp/pest-plugin-stressless

Stressless plugin for Pest

67792.6k16](/packages/pestphp-pest-plugin-stressless)[hprose/hprose-yii

Hprose Server for Yii 2

357.1k](/packages/hprose-hprose-yii)

PHPackages © 2026

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