2017 © Pedro Peláez
 

library gauges

PHP wrapper for the gaug.es API.

image

kevintweber/gauges

PHP wrapper for the gaug.es API.

  • Wednesday, June 14, 2017
  • by kevintweber
  • Repository
  • 1 Watchers
  • 2 Stars
  • 165 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 7 Versions
  • 3 % Grown

The README.md

PHP Wrapper for the Gauges API

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score, (*1)

[Gauges] (http://get.gaug.es/) is a real-time website analytics service. This small library is designed to make consuming the [Gauges API] (http://get.gaug.es/documentation/) simple using PHP., (*2)

Installation

The recommended way to install this library is using [Composer] (http://getcomposer.org)., (*3)

``` bash $ composer require kevintweber/gauges, (*4)


Usage ---- Consuming the Gauges API with this library is super simple: ```php use Kevintweber\Gauges\Factory; // Create the request object. $request = Factory::createRequest($your_gauges_api_token); // Optionally, set a PSR-3 logger. $request->setLogger($logger); // Make an API call. $response = $request->gaugeDetail($gauge_id); // The response is a Psr7 response. $content = (string) $response->getContent(); $data = json_decode($content, true);

This library utilizes the Guzzle 6 library to make the API requests. To understand what else you can do with the response object, please refer to the [Guzzle documentation] (http://guzzle.readthedocs.org/en/latest/)., (*5)

Contributing

Please see CONTRIBUTING for details., (*6)

Security

If you discover any security related issues, please email kevintweber@gmail.com instead of using the issue tracker., (*7)

Credits

License

The MIT License (MIT). Please see License File for more information., (*8)

The Versions

14/06 2017

dev-master

9999999-dev

PHP wrapper for the gaug.es API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kevin Weber

api gauges

17/03 2017

v1.0

1.0.0.0

PHP wrapper for the gaug.es API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kevin Weber

api gauges

16/03 2017

v0.4

0.4.0.0

PHP wrapper for the gaug.es API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kevin Weber

api gauges

18/06 2016

v0.3.1

0.3.1.0

PHP wrapper for the gaug.es API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kevin Weber

api gauges

18/06 2016

v0.3

0.3.0.0

PHP wrapper for the gaug.es API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kevin Weber

api gauges

09/11 2014

v0.2

0.2.0.0

PHP wrapper for the gaug.es API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kevin Weber

api gauges

27/04 2014

v0.1

0.1.0.0

PHP wrapper for the gaug.es API.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Kevin Weber

api gauges