PHPackages                             webstraxt/m2-better-ips - 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. webstraxt/m2-better-ips

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

webstraxt/m2-better-ips
=======================

A tiny little module to tell Magento to use different headers when determining the user's IP address

1.0.0(1y ago)12.4k↑70.8%MITPHP

Since Aug 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/webstraxt/m2-better-ips)[ Packagist](https://packagist.org/packages/webstraxt/m2-better-ips)[ RSS](/packages/webstraxt-m2-better-ips/feed)WikiDiscussions main Synced 2d ago

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

Magento 2 Better IPs
====================

[](#magento-2-better-ips)

A tiny little module to tell Magento to use different headers when determining the user's IP address.

The following headers will be checked in this order:

- `HTTP_CF_CONNECTING_IP`
- `HTTP_X_REAL_IP`
- `HTTP_X_FORWARDED_FOR`

By default, Magento then falls back to using the `REMOTE_ADDR` header.

---

To install:

- `composer require webstraxt/m2-better-ips`
- `php bin/magento module:enable Webstraxt_BetterIPs`
- `php bin/magento setup:upgrade`

---

Copyright (C) 2024 Webstraxt Limited

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Unknown

Total

1

Last Release

689d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63e93b66abefbe680e6645936cb86777b8f03f9c50403f176cc9eaac80e73535?d=identicon)[samwebstraxt](/maintainers/samwebstraxt)

---

Top Contributors

[![samcleathero](https://avatars.githubusercontent.com/u/3945502?v=4)](https://github.com/samcleathero "samcleathero (1 commits)")

### Embed Badge

![Health badge](/badges/webstraxt-m2-better-ips/health.svg)

```
[![Health](https://phpackages.com/badges/webstraxt-m2-better-ips/health.svg)](https://phpackages.com/packages/webstraxt-m2-better-ips)
```

###  Alternatives

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2842.6M](/packages/elgentos-regenerate-catalog-urls)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27703.7k4](/packages/nosto-module-nostotagging)[tig/postnl-magento2

TIG Magento 2 PostNL extension

59570.5k5](/packages/tig-postnl-magento2)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

244.9k2](/packages/zwernemann-module-withdrawal)

PHPackages © 2026

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