2017 © Pedro Peláez
 

library stathat-read

Library that helps reading stats from stathat

image

grummfy/stathat-read

Library that helps reading stats from stathat

  • Friday, September 8, 2017
  • by Grummfy
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Stathat read library

Build Status, (*1)

Stathat is SaaS stat tracking tool. This small library is here to help read stats from it with PHP., (*2)

Usage

use Grummfy\StatHat;
use Grummfy\Stathat\HTTPAdapter\GuzzleAdapter;
use GuzzleHttp\Client;

$stathatToken = 'ABC123'; // get it from https://www.stathat.com/access

$adapter = new GuzzleAdapter($client);
$stathat = new Grummfy\StatHat($adapter, $stathatToken);
var_dump($stathat->listAllStats());

Install

composer require grummfy/stathat-read
composer require guzzlehttp/guzzle

By default, this library came with an implementation of the AdapterInterface made for Guzzle. If, for any reason, you don't want to use guzzle, just implements a new AdapterInterface., (*3)

Test

vendor/bin/atoum

The Versions

08/09 2017

dev-master

9999999-dev

Library that helps reading stats from stathat

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

The Development Requires

by Avatar Grummfy

stats stathat

08/09 2017

0.2.0

0.2.0.0

Library that helps reading stats from stathat

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

The Development Requires

by Avatar Grummfy

stats stathat

21/08 2017

0.1.0

0.1.0.0

Library that helps reading stats from stathat

  Sources   Download

MIT

The Requires

  • php >=7.1.0

 

The Development Requires

by Avatar Grummfy

stats stathat