elic-dev / staades-sdk-php
A PHP library to send metrics to staades.net
Installs: 684
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/elic-dev/staades-sdk-php
Requires
- php: >=5.3.3
- gimler/guzzle-description-loader: ^0.0.4
- guzzlehttp/guzzle: ^6.0
- guzzlehttp/guzzle-services: ^1.1
Requires (Dev)
- phpunit/phpunit: ~5.0
This package is not auto-updated.
Last update: 2025-09-28 00:29:56 UTC
README
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);