PHPackages                             luoxiaojun/yii2-zipkin - 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. luoxiaojun/yii2-zipkin

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

luoxiaojun/yii2-zipkin
======================

Zipkin in Yii2

4809↓25%1PHPCI failing

Since Oct 17Pushed 5y ago2 watchersCompare

[ Source](https://github.com/luoxiaojun1992/yii2-zipkin)[ Packagist](https://packagist.org/packages/luoxiaojun/yii2-zipkin)[ RSS](/packages/luoxiaojun-yii2-zipkin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

yii2-zipkin
===========

[](#yii2-zipkin)

[![Build Status](https://camo.githubusercontent.com/7ba12e59efdf43e0b6afbde4ad2252343cb6ae84ca67d36d7239b610504e4842/68747470733a2f2f7472617669732d63692e6f72672f6c756f7869616f6a756e313939322f796969322d7a69706b696e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/luoxiaojun1992/yii2-zipkin)

Description
-----------

[](#description)

Zipkin in Yii2

Usage
-----

[](#usage)

1. Add zipkin to components ```
    'zipkin' => [
       'class' => TracerAlias::class,
       'serviceName' => 'yii2',
       'endpointUrl' => 'http://127.0.0.1:9411/api/v2/spans',
       'sampleRate' => 1,
       'apiPrefix' => '/'
    ],

    ```
2. Add zipkin sampler
    - For single controller ```
        //Add Lxj\Yii2\Zipkin\Filter to behaviors mathod.
        public function behaviors()
        {
            return [
                'zipkin' => [
                    'class' => Filter::class,
                ],
            ];
        }

        ```
    - For module ```
        //Define your module extended 'Lxj\Yii2\Zipkin\Module'
        class MyModule extends Lxj\Yii2\Zipkin\Module

        ```
3. Demo is [here](https://github.com/luoxiaojun1992/yii2-zipkin-demo).

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a9a7ab17addb5818306fe7052bf2fa4c5028284ab1e6c91c26894cf645cbf5f?d=identicon)[luoxiaojun1992](/maintainers/luoxiaojun1992)

---

Top Contributors

[![luoxiaojun1992](https://avatars.githubusercontent.com/u/6905700?v=4)](https://github.com/luoxiaojun1992 "luoxiaojun1992 (2 commits)")

### Embed Badge

![Health badge](/badges/luoxiaojun-yii2-zipkin/health.svg)

```
[![Health](https://phpackages.com/badges/luoxiaojun-yii2-zipkin/health.svg)](https://phpackages.com/packages/luoxiaojun-yii2-zipkin)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.2k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M94](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M138](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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