ezyt/yii2-atatus-component

Yii2 component for wokt with Atatus

Installs: 381

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ezyt/yii2-atatus-component

1.0.1 2020-12-09 05:02 UTC

This package is auto-updated.

Last update: 2025-09-09 15:36:24 UTC


README

For license information check the LICENSE-file.

Installation

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

or add

"ezyt/yii2-atatus-component": "*"

to the require section of your composer.json.

Config

[
    'bootstrap' => [
        #...
        'atatus'        
    ],
    'components' => [
        'atatus' => [
            'class'   => \Ezyt\Yii2Atatus\AtatusComponent::class,
        ],
    ],
];

Example

        #...
        Yii::$app->atatus->getAgent()->setTransactionName();
        #...

Documentation for config.

Param Default Description
enabled true off component
ignoreList [] actions for ignore transaction. Example 'controllerName\*' - all actions in ControllerName will be ignored
webIgnoreList [] ignoreList only for WebApplication. Merges with ignoreList
cliIgnoreList [] ignoreList only for ConsoleApplication. Merges with ignoreList
enabledWebHandler true off handler for WebApplication
enabledCliHandler true off handler for ConsoleApplication