PHPackages                             suora/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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. suora/apm-wrapper

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

suora/apm-wrapper
=================

This is a wrapper for APMs in PHP

v1.0.0(2y ago)03.0k[3 PRs](https://github.com/SuoraGmbH/php-apm-wrapper/pulls)MITPHPPHP ^8.1

Since Dec 4Pushed 2y agoCompare

[ Source](https://github.com/SuoraGmbH/php-apm-wrapper)[ Packagist](https://packagist.org/packages/suora/apm-wrapper)[ Docs](https://github.com/suoragmbh/apm-wrapper)[ GitHub Sponsors](https://github.com/SuoraGmbH)[ RSS](/packages/suora-apm-wrapper/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (3)Versions (7)Used By (0)

[![](https://camo.githubusercontent.com/2bedf63f24cda7efab02da955dc11fb7ef8a060e2f26b73c33a7aac84529b8a3/68747470733a2f2f6769746875622d6164732e73332e65752d63656e7472616c2d312e616d617a6f6e6177732e636f6d2f737570706f72742d756b7261696e652e7376673f743d31)](https://supportukrainenow.org)

This is a wrapper for APMs in PHP
=================================

[](#this-is-a-wrapper-for-apms-in-php)

[![Latest Version on Packagist](https://camo.githubusercontent.com/8b15af1bd78046f6b163d13b7ea17f6ed5def4eda63bb3a3c483c72268c2a4a6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73756f72612f61706d2d777261707065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/suora/apm-wrapper)[![Tests](https://github.com/SuoraGmbH/php-apm-wrapper/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/SuoraGmbH/php-apm-wrapper/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/385b69312dc302add22e5638a8ec3f5b74eca7b162e125e60fdd2247584f23cc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73756f72612f61706d2d777261707065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/suora/apm-wrapper)

Most APMs in the PHP ecosystem automatically track requests and errors. However, if you implement background jobs, you might need to manually track them, especially if one PHP process runs multiple jobs. This project might help you. :)

**This package is work in progress and might never be production ready.**

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require suora/apm-wrapper
```

Usage
-----

[](#usage)

```
$profiler = new \Suora\ApmWrapper\Profiler\AutoTideways(
    'your-token',
    'workerpool'
);

foreach ($jobs as $job) {
    $profiler->startTransaction($job->getName());
    $profiler->addParameter('jobId', $job->getId());

    $job->run();

    $profiler->endTransaction();
}
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Credits
-------

[](#credits)

- [Suora GmbH](https://github.com/SuoraGmbH)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 54.2% 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 ~111 days

Total

3

Last Release

1085d ago

Major Versions

v0.1.1 → v1.0.02023-07-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/532665404c27d9768cccd69ca00b00a3d812c5dc8dbad30e44a962877753d9a1?d=identicon)[hco](/maintainers/hco)

---

Top Contributors

[![hco](https://avatars.githubusercontent.com/u/156839?v=4)](https://github.com/hco "hco (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (4 commits)")[![rioderelfte](https://avatars.githubusercontent.com/u/158208?v=4)](https://github.com/rioderelfte "rioderelfte (3 commits)")

---

Tags

SuoraGmbHapm-wrapper

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[psr/log

Common interface for logging libraries

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

API for OpenTelemetry PHP.

1941.5M276](/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)
