Skip to content

brainfab/toggl-php-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toggl API PHP SDK

Latest Stable Version Total Downloads Latest Unstable Version License

Installation

Require this package with composer:

composer require brainfab/toggl_sdk

Usage example:

require_once 'vendor/autoload.php';

use Brainfab\Toggl\Toggl;

$apiKey = 'your api key';

$toggl = new Toggl($apiKey);
$account = $toggl->account()->me();

echo $account->fullname;