2017 © Pedro Peláez
 

library twenga-php

PHP client for Twenga reports API

image

izziaraffaele/twenga-php

PHP client for Twenga reports API

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

Twenga PHP API Client

A very user-friendly PHP client for Twenga., (*1)

Requirements: - PHP must be 5.5 or higher. - Guzzle 6 as HTTP client., (*2)

Instalation

Use Composer., (*3)

Install Composer Globally (Linux / Unix / OSX):, (*4)

curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer

Run this Composer command to install the latest stable version of the client, in the current folder:, (*5)

composer require izziaraffaele/twenga-php

After installing, require Composer's autoloader and you're good to go:, (*6)

<?php
require 'vendor/autoload.php';

Getting Started

use Twenga\Api;

// Initialize the API
$api = new Api([
    'username' => 'username',
    'password' => 'password'
]);

$response = $api->report([
    'start' => 'YYYY-MM-DD',
    'end' => 'YYYY-MM-DD'
]);

if($response->success())
{
    var_dump($response->result());
}

Docs

Please refer to the source code for now, while a proper documentation is made., (*7)

The Versions

13/11 2016

dev-master

9999999-dev https://github.com/izziaraffaele/twenga-php

PHP client for Twenga reports API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Izzia Raffaele

php client guzzle twenga twenga-php

13/11 2016

v0.1.6

0.1.6.0 https://github.com/izziaraffaele/twenga-php

PHP client for Twenga reports API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Izzia Raffaele

php client guzzle twenga twenga-php

13/11 2016

v0.1.5

0.1.5.0 https://github.com/izziaraffaele/twenga-php

PHP client for Twenga reports API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Izzia Raffaele

php client guzzle twenga twenga-php

09/11 2016

v0.1.4

0.1.4.0 https://github.com/izziaraffaele/twenga-php

PHP client for Twenga reports API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Izzia Raffaele

php client guzzle twenga twenga-php

09/11 2016

v0.1.3

0.1.3.0 https://github.com/izziaraffaele/twenga-php

PHP client for Twenga reports API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Izzia Raffaele

php client guzzle twenga twenga-php

03/11 2016

v0.1.2

0.1.2.0 https://github.com/izziaraffaele/twenga-php

PHP client for Twenga reports API

  Sources   Download

MIT

The Requires

  • php >=5.5
  • ext-curl *

 

The Development Requires

by Izzia Raffaele

php client guzzle twenga twenga-php

02/11 2016

v0.1.1

0.1.1.0 https://github.com/izziaraffaele/twenga-php

PHP client for Twenga reports API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Izzia Raffaele

php client guzzle twenga twenga-php

17/10 2016

v0.1.0

0.1.0.0 https://github.com/izziaraffaele/twenga-php

PHP client for Twenga reports API

  Sources   Download

MIT

The Requires

 

The Development Requires

by Izzia Raffaele

php client guzzle twenga twenga-php