PHPackages                             marotpam/zipkin-instrumentation-stripe-php - 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. marotpam/zipkin-instrumentation-stripe-php

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

marotpam/zipkin-instrumentation-stripe-php
==========================================

Zipkin instrumentation for Stripe HTTP Client in PHP

v0.1(7y ago)15MITPHPPHP ~7.1

Since Nov 20Pushed 7y ago1 watchersCompare

[ Source](https://github.com/marotpam/zipkin-instrumentation-stripe-php)[ Packagist](https://packagist.org/packages/marotpam/zipkin-instrumentation-stripe-php)[ RSS](/packages/marotpam-zipkin-instrumentation-stripe-php/feed)WikiDiscussions master Synced yesterday

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

Zipkin instrumentation for Stripe's PHP library
===============================================

[](#zipkin-instrumentation-for-stripes-php-library)

Stripe PHP client with Zipkin instrumentation

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

[](#installation)

```
composer require marotpam/zipkin-instrumentation-stripe-php
```

Usage
-----

[](#usage)

You need to override the default HttpClient that [stripe-php](https://github.com/stripe/stripe-php) uses, with one that includes the Zipkin Tracer shared of your application. For further details on how to use Zipkin in your PHP applications please refer to [Zipkin's official PHP library](https://github.com/openzipkin/zipkin-php)

```
use Stripe\ApiRequestor;
use Stripe\HttpClient\CurlClient;
use Stripe\Stripe;
use Zipkin\Tracer;
use ZipkinStripe\HttpClient;

/**
 * @param string $stripeSecretKey Stripe API key
 * @param Tracer $tracer Zipkin tracer used across your application
 */
public function initialiseStripeClient(string $stripeSecretKey, Tracer $tracer)
{
    Stripe::setApiKey($stripeSecretKey);

    $instrumentedStripeClient = new HttpClient(CurlClient::instance(), $tracer);

    ApiRequestor::setHttpClient($instrumentedStripeClient);
}
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Unknown

Total

1

Last Release

2731d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/477742c6565f53cab2699c44e48fdf0e831cfc60253bd26ccc1f131112a2763a?d=identicon)[marotpam](/maintainers/marotpam)

---

Top Contributors

[![marotpam](https://avatars.githubusercontent.com/u/4362817?v=4)](https://github.com/marotpam "marotpam (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/marotpam-zipkin-instrumentation-stripe-php/health.svg)

```
[![Health](https://phpackages.com/badges/marotpam-zipkin-instrumentation-stripe-php/health.svg)](https://phpackages.com/packages/marotpam-zipkin-instrumentation-stripe-php)
```

###  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)
