PHPackages                             instana/instana-php-sdk - 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. instana/instana-php-sdk

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

instana/instana-php-sdk
=======================

Instana PHP Trace SDK stubs

v1.16.8(5y ago)1605.0k↓37.7%2MITPHPPHP &gt;=5.3

Since Oct 9Pushed 1mo ago42 watchersCompare

[ Source](https://github.com/instana/instana-php-sdk)[ Packagist](https://packagist.org/packages/instana/instana-php-sdk)[ Docs](http://instana.com)[ RSS](/packages/instana-instana-php-sdk/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)DependenciesVersions (16)Used By (0)

**Warning:**

Instana PHP SDK is deprecated. One year from today May 30, 2025 we will officially end support and declare it End of Life (EOL).

We strongly encourage all SDK users to migrate their applications to the [OpenTelemetry SDK Instana exporter](https://github.com/instana/opentelemetry-php-exporter). Please refer to our [OTel SDK exporter](https://www.ibm.com/docs/en/instana-observability/current?topic=php-opentelemetry-exporter) documentation for guidance on the usage process.

Instana PHP SDK stubs
=====================

[](#instana-php-sdk-stubs)

This repo provide stubs for the [Instana PHP SDK](https://docs.instana.io/ecosystem/php/#php-sdk). You can use the stubs for adding autocompletion to your IDE. In addition, the stubs serve as a no-op fallback in case the Instana PHP SDK is unavailable in your code. The stubs provide no other functionality. The actual Instana PHP SDK is bundled with the Instana PHP Tracing extension.

Installing via Composer
-----------------------

[](#installing-via-composer)

Install Composer in a common location or in your project:

```
curl -s http://getcomposer.org/installer | php

```

Install via composer:

```
composer require instana/instana-php-sdk

```

Usage
-----

[](#usage)

Please see our [official documentation for the Instana PHP Tracer](https://docs.instana.io/ecosystem/php/#php-sdk) for a usage example.

Example
-------

[](#example)

To annotate custom information about a http-endpoint, you can use the [available Tags for processing](https://www.instana.com/docs/tracing/custom-best-practices/#processed-tags).

```
$tracer = new \Instana\Tracer();

$entry = $tracer->getEntrySpan();

$entry->annotate('http.path_tpl', '/articles/{article}/comments');
```

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance61

Regular maintenance activity

Popularity39

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~0 days

Total

12

Last Release

1902d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/370948?v=4)[Gordon Oheim](/maintainers/gooh)[@gooh](https://github.com/gooh)

![](https://avatars.githubusercontent.com/u/25182699?v=4)[Austin Kothig](/maintainers/kothiga)[@kothiga](https://github.com/kothiga)

![](https://avatars.githubusercontent.com/u/6466034?v=4)[Boris Kuschel](/maintainers/bkuschel)[@bkuschel](https://github.com/bkuschel)

![](https://avatars.githubusercontent.com/u/139580694?v=4)[Heena Bansal](/maintainers/HeenaBansal20)[@HeenaBansal20](https://github.com/HeenaBansal20)

---

Top Contributors

[![HeenaBansal20](https://avatars.githubusercontent.com/u/139580694?v=4)](https://github.com/HeenaBansal20 "HeenaBansal20 (6 commits)")[![gooh](https://avatars.githubusercontent.com/u/370948?v=4)](https://github.com/gooh "gooh (4 commits)")[![aovcharov-instana](https://avatars.githubusercontent.com/u/75306078?v=4)](https://github.com/aovcharov-instana "aovcharov-instana (2 commits)")[![snakeye](https://avatars.githubusercontent.com/u/1873784?v=4)](https://github.com/snakeye "snakeye (2 commits)")[![cedricziel](https://avatars.githubusercontent.com/u/418970?v=4)](https://github.com/cedricziel "cedricziel (1 commits)")

### Embed Badge

![Health badge](/badges/instana-instana-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/instana-instana-php-sdk/health.svg)](https://phpackages.com/packages/instana-instana-php-sdk)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M277](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M343](/packages/open-telemetry-sdk)

PHPackages © 2026

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