PHPackages                             yupao/tracing - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. yupao/tracing

ActiveLibrary[Logging &amp; Monitoring](/categories/logging)

yupao/tracing
=============

Customized tracing component based on openzipkin by Yupao

1.1.2(4y ago)023Apache-2.0PHPPHP &gt;=7.2

Since Nov 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/apuppy/tracing)[ Packagist](https://packagist.org/packages/yupao/tracing)[ RSS](/packages/yupao-tracing/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (8)Versions (15)Used By (0)

English | [中文](./README-CN.md)

tracing
=======

[](#tracing)

Customized tracing component based on openzipkin by Yupao

quickstart
==========

[](#quickstart)

install dependency
------------------

[](#install-dependency)

```
composer require yupao/tracing
```

(optional) delete existing opentracing config file
--------------------------------------------------

[](#optional-delete-existing-opentracing-config-file)

```
rm -f {$project_dir}/config/autoload/opentracing.php
```

publish config file
-------------------

[](#publish-config-file)

```
php bin/hyperf.php vendor:publish yupao/tracing
```

change aspect configuration
---------------------------

[](#change-aspect-configuration)

```
# config/autoload/aspects.php
return [
    Yupao\Tracing\Hyperf\Aspect\JsonRpcAspect::class,
];
```

middlewares configuration
-------------------------

[](#middlewares-configuration)

```
# config/autoload/middlewares.php
return [
    'http' => [
        Yupao\Tracing\Hyperf\Middleware\TraceMiddleware::class
    ],
];
```

customization
=============

[](#customization)

change customized trace header name
-----------------------------------

[](#change-customized-trace-header-name)

If you are using a customized HTTP header for tracing. In the project configuration .env file, set `CUSTOMIZED_TRACE_ID_NAME` to that name.

```
# edit .env
CUSTOMIZED_TRACE_ID_NAME=x-request-id

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

13

Last Release

1702d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6140347?v=4)[KevinLee](/maintainers/apuppy)[@apuppy](https://github.com/apuppy)

---

Top Contributors

[![apuppy](https://avatars.githubusercontent.com/u/6140347?v=4)](https://github.com/apuppy "apuppy (17 commits)")

### Embed Badge

![Health badge](/badges/yupao-tracing/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)[pagemachine/typo3-formlog

Form log for TYPO3

23238.6k8](/packages/pagemachine-typo3-formlog)[friendsofhyperf/sentry

The sentry component for Hyperf.

1974.5k](/packages/friendsofhyperf-sentry)

PHPackages © 2026

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