ezyt/atatus

Wrapper for Atatus

1.0.2 2020-12-09 04:56 UTC

This package is auto-updated.

Last update: 2024-09-09 13:53:32 UTC


README

For license information check the LICENSE-file.

Requirements

Works with atatus agent

Installation

php composer.phar require --prefer-dist ezyt/atatus

or add

"ezyt/atatus": "*"

to the require section of your composer.json.

Example

    $atatus = new \Ezyt\Atatus\Service();
    if ($atatus->isLoaded()) {
        $atatus->endTransaction();
        $atatus->beginTransaction();
        $atatus->setTransactionName('/requested_uri');
    }
    //...
    $atatus->endTransaction();