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)1567.9k↑22.2%2MITPHPPHP &gt;=5.3

Since Oct 9Pushed 11mo ago43 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 1mo ago

READMEChangelog (10)DependenciesVersions (15)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

42

—

FairBetter than 90% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity60

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

1856d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b48e20aa08f8ca4f7464062dfae13847846199d16bb3ab80dced36810c3fd6f?d=identicon)[gooh](/maintainers/gooh)

![](https://www.gravatar.com/avatar/d525c8b28c58a411ae2d91ea04401f2099f47218b7a45400a8e2594077763d93?d=identicon)[kothiga](/maintainers/kothiga)

![](https://www.gravatar.com/avatar/029090d17b980d54be719f972b82776dd8da4a95817dcce2a60cc899332414f5?d=identicon)[bkuschel](/maintainers/bkuschel)

![](https://www.gravatar.com/avatar/968a204b53fd4d6f48d5e06ea7049baae0da964ce4c508541dbb3d4c1e673ad3?d=identicon)[HeenaBansal20](/maintainers/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.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)[ekino/newrelic-bundle

Integrate New Relic into Symfony2

28111.2M8](/packages/ekino-newrelic-bundle)

PHPackages © 2026

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