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

ActiveFlarum-extension

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

Geolocation for Flarum

1.1.0(1y ago)93.6k↓41.7%3[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 1mo ago

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

34

—

LowBetter than 77% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity52

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

656d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6b9c47c8f3399a14a998b0229fbfddf949c5440ed98214b00ce3b9d5bf310e48?d=identicon)[Burial0268](/maintainers/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

[stevebauman/location

Retrieve a user's location by their IP Address

1.3k7.6M65](/packages/stevebauman-location)[fof/upload

The file upload extension for the Flarum forum with insane intelligence.

188171.7k15](/packages/fof-upload)[fof/byobu

Well integrated, advanced private discussions.

61105.8k9](/packages/fof-byobu)[adrianorosa/laravel-geolocation

Laravel Geo Location package to get details for a given IP Address

6593.3k1](/packages/adrianorosa-laravel-geolocation)[fof/gamification

Upvotes and downvotes for your Flarum community

4157.1k6](/packages/fof-gamification)[fof/user-bio

Add a user bio to user profiles

2196.5k9](/packages/fof-user-bio)

PHPackages © 2026

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