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(8mo ago)01113MITPHPPHP ^8.3

Since Aug 26Pushed 8mo 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 1mo 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

33

—

LowBetter than 75% of packages

Maintenance60

Regular maintenance activity

Popularity12

Limited adoption so far

Community10

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

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

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M293](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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