PHPackages                             cego/elastic-apm-wrapper - 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. cego/elastic-apm-wrapper

ActiveLibrary

cego/elastic-apm-wrapper
========================

Adds easy-to-use Apm methods to wrap code in spans.

1.0.1(2y ago)020.3k↓46.3%[1 PRs](https://github.com/cego/elastic-apm-wrapper/pulls)PHPPHP ^7.4 || ^8.0

Since Jul 31Pushed 2y ago8 watchersCompare

[ Source](https://github.com/cego/elastic-apm-wrapper)[ Packagist](https://packagist.org/packages/cego/elastic-apm-wrapper)[ RSS](/packages/cego-elastic-apm-wrapper/feed)WikiDiscussions main Synced 1mo ago

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

elastic-apm-wrapper
===================

[](#elastic-apm-wrapper)

Minimalistic wrapper for the elastic-apm-agent methods that checks if APM exists and is enabled.

This aids to have APM-dependent code run in environments where APM is not enabled.

Install
-------

[](#install)

`composer require cego/elastic-apm-wrapper`

Contributing
------------

[](#contributing)

You are welcome to open issues and pull request, please describe the issues and pull requests carefully to enable our understanding of the issue.

Before contributing code, please run the cs-fixer: `/vendor/bin/php-cs-fixer fix`

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Every ~206 days

Total

2

Last Release

815d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d79d2046d4c647d13783eaedebc0044f9e824fd211e2b23281aaf727222e3f2?d=identicon)[cego](/maintainers/cego)

---

Top Contributors

[![LauJosefsen](https://avatars.githubusercontent.com/u/44977457?v=4)](https://github.com/LauJosefsen "LauJosefsen (2 commits)")[![firecow](https://avatars.githubusercontent.com/u/973602?v=4)](https://github.com/firecow "firecow (1 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (1 commits)")

### Embed Badge

![Health badge](/badges/cego-elastic-apm-wrapper/health.svg)

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

PHPackages © 2026

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