Skip to content

elic-dev/staades-sdk-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Staades PHP SDK

Installation with Composer

$ php composer.phar require elic-dev/staades-php-sdk

For composer documentation, please refer to getcomposer.org.

Usage

Initialize a new StaadesClient with your access key.

$config = array(
    'app_key' => 'testapp',
    'api_key' => 'testkey',
);

$client = \Staades\StaadesClient::factory($config);

Start sending commands to Staades.

Add something to your ident:

$client->addValue('My.test.ident', 1);

Set the value of your ident:

$client->setValue('My.test.ident', 1);

About

A PHP library to send metrics to staades.net

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages