PHPackages                             charcoal-dev/http-trust-proxy - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. charcoal-dev/http-trust-proxy

ActiveLibrary[HTTP &amp; Networking](/categories/http)

charcoal-dev/http-trust-proxy
=============================

TTP header resolver for client IP/host/proto behind proxies, built on networking.

0.1.3(11mo ago)01203MITPHPPHP ^8.3

Since Aug 26Pushed 11mo agoCompare

[ Source](https://github.com/charcoal-dev/http-trust-proxy)[ Packagist](https://packagist.org/packages/charcoal-dev/http-trust-proxy)[ Docs](https://github.com/charcoal-dev/http-trust-proxy)[ RSS](/packages/charcoal-dev-http-trust-proxy/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (4)Used By (3)

Charcoal HTTP Trust Proxy
=========================

[](#charcoal-http-trust-proxy)

[![MIT License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](LICENSE)

An HTTP-focused library that resolves the true client IP, protocol, and host information when applications are deployed behind reverse proxies or load balancers. It parses and validates Forwarded and legacy X-Forwarded-\* headers, applies trusted CIDR rules from the base networking library, and enforces hop limits and header integrity. Built on charcoal-dev/networking, it isolates proxy-trust logic into a reusable, framework-agnostic component that can be integrated wherever accurate client information is required.

For detailed information, guidance, and setup instructions regarding this library, please refer to our official documentation website:

###  Health Score

31

—

LowBetter than 65% of packages

Maintenance51

Moderate activity, may be stable

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity44

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 ~7 days

Total

3

Last Release

343d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11485189?v=4)[M. Furqan Siddiqui](/maintainers/furqansiddiqui)[@furqansiddiqui](https://github.com/furqansiddiqui)

---

Top Contributors

[![furqansiddiqui](https://avatars.githubusercontent.com/u/11485189?v=4)](https://github.com/furqansiddiqui "furqansiddiqui (11 commits)")

### Embed Badge

![Health badge](/badges/charcoal-dev-http-trust-proxy/health.svg)

```
[![Health](https://phpackages.com/badges/charcoal-dev-http-trust-proxy/health.svg)](https://phpackages.com/packages/charcoal-dev-http-trust-proxy)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25026.8M85](/packages/php-http-cache-plugin)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

85997.3k131](/packages/httpsoft-http-message)[thesis/nats

Async (fiber based) client for Nats.

758.3k](/packages/thesis-nats)

PHPackages © 2026

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