You can set the organization or company that is accessing a particular API using the atatus_set_company() function. By doing so, you can analyze how your PHP API is being used.

Compatibility

Requires PHP agent version 1.14.0 or higher.

Syntax

atatus_set_company($company_id)

Parameter

Parameter Type Description
$company_id String (Required) Company Name or Product Name or Website or Legal Name or Uniq ID.

Example

copy
icon/buttons/copy
<?php

if (extension_loaded('atatus')) {
    atatus_set_company('Acme Corp');
}