Skip to content

anare/stathat.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

stathat.com

Class for working with API of stathat based on stathat.php from:

PHP Library: https://www.stathat.com/downloads/stathat.php
PHP usage: https://www.stathat.com/code/new/php

Purpose: To use as Symfony2 Bundle

Example

$statHat = new StatHat(new ASyncStatHat(new StatHatRequest(), array(
    'key' => '***************************',
    'userKey' => '********************',
    'email' => '****************'
)));

for ($i = 0; $i < 20; $i++) {
    $statHat->count('test', $i);
    $statHat->ezCount('test', $i);
}

TODO

  • Add namespace
  • Create Symfony2 Bundle

About

StatHat.com Class

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages