PHPackages                             atatus/swoole-atatus - 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. atatus/swoole-atatus

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

atatus/swoole-atatus
====================

Atatus APM monitoring for Swoole web-server

1.0.2(2y ago)015Apache-2.0PHPPHP &gt;=7.1

Since Mar 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/atatus/swoole-atatus)[ Packagist](https://packagist.org/packages/atatus/swoole-atatus)[ Docs](https://github.com/atatus/swoole-atatus)[ RSS](/packages/atatus-swoole-atatus/feed)WikiDiscussions master Synced 1mo ago

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

DEPRECATED
==========

[](#deprecated)

Please use [atatus-octane](https://github.com/atatus/atatus-octane)
-------------------------------------------------------------------

[](#please-use-atatus-octane)

Atatus Monitoring of Swoole (Deprecated)
========================================

[](#atatus-monitoring-of-swoole-deprecated)

This library enables monitoring of PHP applications powered by [Swoole](https://openswoole.com/) web-server via [Atatus](https://www.atatus.com/) products.

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

[](#installation)

The library is to be installed via [Composer](https://getcomposer.org/) as a dependency:

```
composer require atatus/swoole-atatus
```

Usage
-----

[](#usage)

### Production

[](#production)

Monitoring of requests from start to finish can be activated by adding a few lines of code to the server entry point. The monitoring instrumentation is by design completely transparent to an application running on the server.

Install the monitoring instrumentation for all requests:

```
$page = on('request', function ($request, $response) use ($page) {
    // PHP processing within request boundary...
    usleep(1000 * rand(100, 300));

    // Send response
    $response->end($page);

    // PHP processing outside of request boundary...
    usleep(1000 * rand(50, 150));
});

// Application performnce monitoring (APM)
$apm = new Atatus\Swoole\AtatusApm(new Atatus\Swoole\AtatusApm\TransactionFactory());
$apm->instrument($server);

unset($apm);

$server->start();
```

### Development

[](#development)

Having to install the Atatus PHP extension locally may be inconvenient and outright undesirable for developers. The workaround is to replace the Atatus reporting functionality with the "stub" implementation doing nothing:

```
{
    "require": {
        "atatus/swoole-atatus": "*",
        ...
    }
}
```

Limitations
-----------

[](#limitations)

Concurrent requests subject to [coroutine](https://www.swoole.co.uk/coroutine) multi-tasking are reported as part of the first in-flight transaction.

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

[](#contributing)

Pull Requests with fixes and improvements are welcome!

License
-------

[](#license)

Licensed under the Apache License, Version 2.0.

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

791d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/82a726c025bc988a34b50ee085cff12504f237b6faab160bdb7df1b248836a7d?d=identicon)[atatus](/maintainers/atatus)

---

Top Contributors

[![fizerkhan](https://avatars.githubusercontent.com/u/1433380?v=4)](https://github.com/fizerkhan "fizerkhan (1 commits)")

---

Tags

monitoringapmswooleintegrationatatus

### Embed Badge

![Health badge](/badges/atatus-swoole-atatus/health.svg)

```
[![Health](https://phpackages.com/badges/atatus-swoole-atatus/health.svg)](https://phpackages.com/packages/atatus-swoole-atatus)
```

###  Alternatives

[upscale/swoole-newrelic

New Relic APM monitoring of Swoole web-server

1619.6k](/packages/upscale-swoole-newrelic)[scoutapp/scout-apm-laravel

Scout Application Performance Monitoring Agent - https://scoutapm.com

23831.3k](/packages/scoutapp-scout-apm-laravel)[scoutapp/scout-apm-php

Scout Application Performance Monitoring Agent - https://scoutapm.com

17877.0k5](/packages/scoutapp-scout-apm-php)[sobanvuex/php-newrelic

PHP Library for New Relic Agent

16520.7k5](/packages/sobanvuex-php-newrelic)

PHPackages © 2026

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