PHPackages                             surveygizmo/elastic-apm-php-agent - 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. surveygizmo/elastic-apm-php-agent

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

surveygizmo/elastic-apm-php-agent
=================================

A php 5.6 agent for Elastic APM

7.1(7y ago)31.7k4MITPHPPHP 5.6.\*

Since Feb 2Pushed 6y ago2 watchersCompare

[ Source](https://github.com/SurveyGizmoOfficial/elastic-apm-php-agent)[ Packagist](https://packagist.org/packages/surveygizmo/elastic-apm-php-agent)[ RSS](/packages/surveygizmo-elastic-apm-php-agent/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (4)Versions (13)Used By (0)

Elastic APM: PHP Agent
======================

[](#elastic-apm-php-agent)

[![Build Status](https://camo.githubusercontent.com/c7ada8442baac3fbaed09b3ffb6e59796380f253cba396aa18a5b4a30a973aa7/68747470733a2f2f7472617669732d63692e636f6d2f7068696c6b72612f656c61737469632d61706d2d7068702d6167656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/philkra/elastic-apm-php-agent)[![Total Downloads](https://camo.githubusercontent.com/5bcddf18880c066ea27bf3ff5d9a634b1ac5d9ce83c4d7964c8611b5e057458a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7068696c6b72612f656c61737469632d61706d2d7068702d6167656e742e7376673f7374796c653d666c6174)](https://packagist.org/philkra/elastic-apm-php-agent)

This is a community PHP agent for Elastic.co's [APM](https://www.elastic.co/solutions/apm) solution, supporting the `v2` Intake API. Please note: This agent is not offically supported by [Elastic](https://www.elastic.co/).

Documentation
-------------

[](#documentation)

- [Installation](https://github.com/philkra/elastic-apm-php-agent/blob/master/docs/install.md)
- [Configuration](https://github.com/philkra/elastic-apm-php-agent/blob/master/docs/config.md)
- [Knowledgebase](https://github.com/philkra/elastic-apm-php-agent/blob/master/docs/knowledgebase.md)

Examples
--------

[](#examples)

- [Agent Initialization](https://github.com/philkra/elastic-apm-php-agent/blob/master/docs/examples/agent-init.md)
- [Basic Usage](https://github.com/philkra/elastic-apm-php-agent/blob/master/docs/examples/basic-usage.md)
- [Capture Throwable](https://github.com/philkra/elastic-apm-php-agent/blob/master/docs/examples/capture-throwable.md)
- [Spans](https://github.com/philkra/elastic-apm-php-agent/blob/master/docs/examples/spans.php)
- [Parent Transactions](https://github.com/philkra/elastic-apm-php-agent/blob/master/docs/examples/parent-transactions.php)
- [Metricset](https://github.com/philkra/elastic-apm-php-agent/blob/master/docs/examples/metricset.php)
- [Getting the Server Info](https://github.com/philkra/elastic-apm-php-agent/blob/master/docs/examples/server-info.php)
- [Distributed Tracing](https://github.com/philkra/elastic-apm-php-agent/blob/master/docs/examples/distributed-tracing.md) -- Incomplete (TODO)

Tests
-----

[](#tests)

```
vendor/bin/phpunit
```

Contributors
------------

[](#contributors)

A big thank you goes out to every contributor of this repo, special thanks goes out to:

- [dstepe](https://github.com/dstepe)
- [georgeboot](https://github.com/georgeboot)
- [alash3al](https://github.com/alash3al)
- [thinkspill](https://github.com/thinkspill)
- [YuZhenXie](https://github.com/YuZhenXie)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity65

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

Recently: every ~19 days

Total

8

Last Release

2797d ago

Major Versions

0.1.2 → 6.2.02018-06-09

6.3.2 → 7.12018-09-14

PHP version history (2 changes)0.1.2PHP &gt;= 7.0

7PHP 5.6.\*

### Community

Maintainers

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

---

Top Contributors

[![philkra](https://avatars.githubusercontent.com/u/35487337?v=4)](https://github.com/philkra "philkra (16 commits)")[![georgeboot](https://avatars.githubusercontent.com/u/884482?v=4)](https://github.com/georgeboot "georgeboot (12 commits)")[![thinkspill](https://avatars.githubusercontent.com/u/822133?v=4)](https://github.com/thinkspill "thinkspill (5 commits)")[![SurveyGizmoOfficial](https://avatars.githubusercontent.com/u/19310598?v=4)](https://github.com/SurveyGizmoOfficial "SurveyGizmoOfficial (5 commits)")[![flexer23](https://avatars.githubusercontent.com/u/13817810?v=4)](https://github.com/flexer23 "flexer23 (2 commits)")[![gmvgn](https://avatars.githubusercontent.com/u/19277893?v=4)](https://github.com/gmvgn "gmvgn (1 commits)")[![strayobject](https://avatars.githubusercontent.com/u/2257473?v=4)](https://github.com/strayobject "strayobject (1 commits)")[![gueroverde](https://avatars.githubusercontent.com/u/1765489?v=4)](https://github.com/gueroverde "gueroverde (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/surveygizmo-elastic-apm-php-agent/health.svg)

```
[![Health](https://phpackages.com/badges/surveygizmo-elastic-apm-php-agent/health.svg)](https://phpackages.com/packages/surveygizmo-elastic-apm-php-agent)
```

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[subzerobo/elastic-apm-php-agent

PHP Agent for Elastic APM With Intake API V2 Support + UDP Support

1119.1k](/packages/subzerobo-elastic-apm-php-agent)

PHPackages © 2026

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