elic-dev/staades-sdk-php
最新稳定版本:1.0.2
Composer 安装命令:
composer require elic-dev/staades-sdk-php
包简介
A PHP library to send metrics to staades.net
README 文档
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);
统计信息
- 总下载量: 684
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-09