PHPackages                             gbcl/userip - 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. gbcl/userip

ActiveFlarum-extension[Utility &amp; Helpers](/categories/utility)

gbcl/userip
===========

Geolocation for Flarum

1.1.0(1y ago)83.7k↓78.3%4[1 issues](https://github.com/GBCLStudio/userip/issues)MITPHPPHP ^8.0

Since May 21Pushed 1y agoCompare

[ Source](https://github.com/GBCLStudio/userip)[ Packagist](https://packagist.org/packages/gbcl/userip)[ RSS](/packages/gbcl-userip/feed)WikiDiscussions main Synced yesterday

READMEChangelog (3)Dependencies (2)Versions (5)Used By (0)

User IP
=======

[](#user-ip)

[![extiverse](https://camo.githubusercontent.com/dbd22825c133205a7ee5cc93838be7eca516506b66c85f0d1bf09e79db7db25e/68747470733a2f2f6578746976657273652e636f6d2f657874656e73696f6e2f6762636c2f7573657269702f6f70656e2d67726170682d696d616765)](https://camo.githubusercontent.com/dbd22825c133205a7ee5cc93838be7eca516506b66c85f0d1bf09e79db7db25e/68747470733a2f2f6578746976657273652e636f6d2f657874656e73696f6e2f6762636c2f7573657269702f6f70656e2d67726170682d696d616765)

> Display the IP address of the posting below the post

ScreenShot
----------

[](#screenshot)

[![ss](https://raw.githubusercontent.com/GBCLStudio/userip/main/screenshot.png)](https://raw.githubusercontent.com/GBCLStudio/userip/main/screenshot.png)

Install
-------

[](#install)

```
composer require gbcl/userip:"*"
php flarum migrate
```

Update
------

[](#update)

```
composer update gbcl/userip:"*"
php flarum cache:clear
php flarum migrate
```

Remove
------

[](#remove)

```
composer remove gbcl/userip
php flarum cache:clear
```

How to use
----------

[](#how-to-use)

You just need to open the extension in the admin panel. :)

Feature
-------

[](#feature)

- Support for websites using CDN
- Concise, detailed, understandable style
- No bugs (maybe?)

Extending
---------

[](#extending)

You can easily extend this extension to support different API providers, if you follow these steps:

- In your new extension, require `gbcl/userip` as a dependency
- Define a new Service that implements `GBCLStudio\GeoIp\Api\GeoIpInterface` and extends `GBCLStudio\GeoIp\Api\Service\BaseService`
- In your new extension's extend.php, register the service: `new GBCLStudio\GeoIp\Extend\ApiProvider(MyNewService::class);`
- Provide the required translations under the `gbcl-userip` namespace, for example: `gbcl-userip.admin.service.YOUR_NEW_EXTENSION.label`, specific translations The text can be found at [here](https://github.com/GBCLStudio/userip/blob/502fcd12dca2a07c29fc5b008026fb5b615dc246/resources/locale/en.yml#L9)

Note
----

[](#note)

Builtin IP domain API is provided by [ip.sb](https://ip.sb) and [IpInfo](https://ipinfo.io)

Referenced code from the following projects: fof/geoip, fof/oauth

Support my work at [afdian](http://afdian.com/a/GBCLStudio)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.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

Every ~218 days

Total

3

Last Release

703d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/71890055?v=4)[拜瑞](/maintainers/Burial0268)[@Burial0268](https://github.com/Burial0268)

---

Top Contributors

[![Burial0268](https://avatars.githubusercontent.com/u/71890055?v=4)](https://github.com/Burial0268 "Burial0268 (117 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (24 commits)")[![MiraHikari](https://avatars.githubusercontent.com/u/69497500?v=4)](https://github.com/MiraHikari "MiraHikari (6 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (4 commits)")

---

Tags

flarumflarum-extensiongeoipgeolocationgeoipflarum

### Embed Badge

![Health badge](/badges/gbcl-userip/health.svg)

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

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

12128.3k](/packages/flarum-lang-russian)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)[fof/sitemap

Generate a sitemap

1899.7k2](/packages/fof-sitemap)[fof/discussion-language

Specify the language a discussion is written in &amp; sort by language

1034.8k4](/packages/fof-discussion-language)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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