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(9mo ago)01203MITPHPPHP ^8.3

Since Aug 26Pushed 9mo 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 today

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

32

—

LowBetter than 69% of packages

Maintenance55

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity43

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

298d 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

25126.1M82](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k24.3k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

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

87965.9k114](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.4M92](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69127.2k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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