PHPackages                             vira/hpropagate - 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. vira/hpropagate

ActiveSymfony-bundle

vira/hpropagate
===============

Symfony bundle for propagating http headers from incoming requests to the corresponding outgoing requests automatically

v1.0.3(1y ago)02.5k↓33.3%MITPHPPHP &gt;=8.1

Since Oct 26Pushed 1y ago3 watchersCompare

[ Source](https://github.com/vira-org/hpropagate-symfony)[ Packagist](https://packagist.org/packages/vira/hpropagate)[ RSS](/packages/vira-hpropagate/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (6)Used By (0)

hpropagate-symfony
==================

[](#hpropagate-symfony)

This package automatically propagates HTTP headers from inbound to outbound HTTP requests. It also will add a request ID to all monolog logs under `req.id` to follow the format used in our node services [here](https://github.com/vira-org/hpropagate)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1
- Symfony 6.3.x

The Why
-------

[](#the-why)

We use a microservice architecture with a growing number of HTTP endpoints. We want to propagate certain HTTP headers received from the incoming HTTP requests to all subsequent outbound HTTP requests without the need for our engineers to do it programmatically in each service:

By default, the following headers are automatically propagated:

1. x-request-id. If the header is missing from the inbound request, it will be created with a UUID as value.

Apart from x-request-id, only headers received on the incoming request will be propagated to outbound calls.

Installation
------------

[](#installation)

`composer require vira/hpropagate`

Then add the following to your bundles file:

```
Vira\Hpropagate\ViraHpropagateBundle::class => ['all' => true
```

Configuration
-------------

[](#configuration)

There is some optional configuration to be able to propagate more headers than just `x-request-id`:

```
# config/packages/vira_hpropagate.yaml
vira_hpropagate:
    headers_to_propagate:
      - x-my-custom-header
      - my-other-header
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~59 days

Total

5

Last Release

700d ago

Major Versions

v0.0.1 → v1.0.02023-10-26

### Community

Maintainers

![](https://www.gravatar.com/avatar/88044b6d9ba33734706c2b111db44403b588418fcb09fa24096c6efa5a2eea6c?d=identicon)[tech@vira.health](/maintainers/tech@vira.health)

---

Top Contributors

[![markbennett1973](https://avatars.githubusercontent.com/u/1250015?v=4)](https://github.com/markbennett1973 "markbennett1973 (3 commits)")[![rob1256](https://avatars.githubusercontent.com/u/5627633?v=4)](https://github.com/rob1256 "rob1256 (1 commits)")

### Embed Badge

![Health badge](/badges/vira-hpropagate/health.svg)

```
[![Health](https://phpackages.com/badges/vira-hpropagate/health.svg)](https://phpackages.com/packages/vira-hpropagate)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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