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 2w ago

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 18% 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

2779d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4362817?v=4)[Marcel Otón Pàmies](/maintainers/marotpam)[@marotpam](https://github.com/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

[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k28.4M137](/packages/laravel-cashier)[verbb/formie

The most user-friendly forms plugin for Craft.

100387.6k59](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

53675.5k17](/packages/solspace-craft-freeform)[jcchavezs/zipkin-opentracing

A Zipkin bridge with OpenTracing

243.0M13](/packages/jcchavezs-zipkin-opentracing)[vinelab/tracing-laravel

Distributed tracing for Laravel made easy

81123.3k1](/packages/vinelab-tracing-laravel)[duncanmcclean/statamic-cargo

Comprehensive e-commerce addon for Statamic. Build bespoke e-commerce sites without the complexity.

3310.1k](/packages/duncanmcclean-statamic-cargo)

PHPackages © 2026

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