PHPackages                             maleficarum/contexttracker - 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. maleficarum/contexttracker

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

maleficarum/contexttracker
==========================

Maleficarum context tracker component

1.0(4y ago)095proprietaryPHPPHP &gt;=5.6

Since Jun 18Pushed 4y ago1 watchersCompare

[ Source](https://github.com/pharaun13/maleficarum-context-tracker)[ Packagist](https://packagist.org/packages/maleficarum/contexttracker)[ RSS](/packages/maleficarum-contexttracker/feed)WikiDiscussions feature-rewrite Synced 1mo ago

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

ContextTracker
==============

[](#contexttracker)

This is a Maleficarum framework component.

Features:

- Track context through request/message handling cycle
- Inject context into HTTP/AMQP Headers
- Extract context from HTTP/AMQO Headers

\#Installation

Depending on Your setup installation will differ:

\#Proxy

\##For proxy service NOT using maleficarum-proxy

Initialize Http Context in Your main initializer e.g. src/Initializer.php

```
\Maleficarum\ContextTracing\Initializer\HttpInitializer::initialize([
            'context.service_name' => 'voucher_service-proxy'
]);

```

Pass service name for context purpose

For proxy service using maleficarum-proxy
-----------------------------------------

[](#for-proxy-service-using-maleficarum-proxy)

@TODO

\#API

For api services using maleficarum-api
--------------------------------------

[](#for-api-services-using-maleficarum-api)

\###input

add package with composer

in index.php add paremeters via setParamContainer

```
'logger.plugins' => [
   [\Maleficarum\ContextTracing\Plugin\MaleficarumMonologLogger::class, 'addProcessor']
],
'context.service_name' => 'ejector_service-api'

```

and add via setInitializers

```
[Maleficarum\ContextTracing\Initializer\HttpInitializer::class, 'initialize']

```

This will both initialize http context and plug it into logger

You will also need to upgrade logger packages

\###output

Depending on which package You are using to produce messagee:

#### maleficarum-rabbitmq

[](#maleficarum-rabbitmq)

Just upgrade - will work out of the box

#### publisher

[](#publisher)

@todo

\##For api service using miinto-api

@todo

\#Worker

\##For worker service using maleficarum worker

\###input and output

just upgrade maleficarum-worker will work out of the box

\###logger

Worker has seperate logger. You need to switch facility from syslog to context in You config:

```
;##
;# LOGGER settings
;##
[logger]
facilities[] = 'cli'
facilities[] = 'context'

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Total

2

Last Release

1787d ago

Major Versions

0.1 → 1.02021-06-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/eee6d4d80c40921b977cee3ca831cdc1529e4ade4eb5b898aef381969ce85127?d=identicon)[pharaun13](/maintainers/pharaun13)

---

Top Contributors

[![MMalawski2](https://avatars.githubusercontent.com/u/73883109?v=4)](https://github.com/MMalawski2 "MMalawski2 (41 commits)")

### Embed Badge

![Health badge](/badges/maleficarum-contexttracker/health.svg)

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

###  Alternatives

[georgringer/faker

Faker for TYPO3

165.1k](/packages/georgringer-faker)

PHPackages © 2026

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