PHPackages                             ggdx/php-toggl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ggdx/php-toggl

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ggdx/php-toggl
==============

PHP SDK for Toggl, the time tracker app

0341PHP

Since Nov 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ggdx/php-toggl)[ Packagist](https://packagist.org/packages/ggdx/php-toggl)[ RSS](/packages/ggdx-php-toggl/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (1)

PHP-Toggl
=========

[](#php-toggl)

PHP library for the [Toggl Timetracker](https://toggl.com) API (v8)

Getting Started
---------------

[](#getting-started)

### Composer (recommended)

[](#composer-recommended)

`composer require ggdx/php-toggl`

### Download

[](#download)

Download the zip or `git clone git@github.com:ggdx/php-toggl.git`

**Dependencies:** PHP &gt;= 5.5.9 and [Guzzle](https://github.com/guzzle/guzzle) &gt;=6.2

### Example:

[](#example)

```
$toggl = new Toggl($api_key)
$toggl->startTimer($data);
```

Methods
-------

[](#methods)

### Clients

[](#clients)

```
$toggl->getClients($id);
```

```
$toggl->getClientProjects($id);
```

```
$toggl->saveClient($id, $data);
```

```
$toggl->deleteClient($id);
```

### Dashboard

[](#dashboard)

```
$toggl->getDashboard($workspace_id);
```

### Me

[](#me)

```
$toggl->getMe();
```

```
$toggl->saveMe($data);
```

```
$toggl->resetApiKey();
```

### Projects

[](#projects)

```
$toggl->getProject($id);
```

```
$toggl->getProjectTasks($id);
```

```
$toggl->saveProject($id, $data);
```

```
$toggl->deleteProject($id);
```

```
$toggl->getProjectUsers($project_id);
```

```
$toggl->saveProjectUser($id, $data);
```

```
$toggl->deleteProjectUser($id);
```

### Tags

[](#tags)

```
$toggl->saveTag($id, $data);
```

```
$toggl->deleteTag($id);
```

### Tasks

[](#tasks)

```
$toggl->getTask($id);
```

```
$toggl->saveTask($id, $data);
```

```
$toggl->deleteTask($id);
```

### Time Entries

[](#time-entries)

```
$toggl->getTimeEntry($id);
```

```
$toggl->getTimer();
```

```
$toggl->saveTimeEntry($id, $data, $start_timer);
```

```
$toggl->startTimer($data);
```

```
$toggl->stopTimer($id);
```

### Users

[](#users)

```
$toggl->createUser($data);
```

### Workspaces

[](#workspaces)

```
$toggl->getWorkspaces($id);
```

```
$toggl->getWorkspaceUsers($id);
```

```
$toggl->getWorkspaceClients($id);
```

```
$toggl->getWorkspaceProjects($id);
```

```
$toggl->getWorkspaceTasks($id);
```

```
$toggl->getWorkspaceTags($id);
```

```
$toggl->updateWorkspace($id, $data);
```

### Workspace Users

[](#workspace-users)

```
$toggl->inviteUsers($id, $email);
```

```
$toggl->deleteWorkspaceUser($id);
```

More info
---------

[](#more-info)

Full documentation will be up here shortly; but for now, all methods are fully documented within the code.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5812263?v=4)[Dan Griffiths](/maintainers/Gingerdan)[@gingerdan](https://github.com/gingerdan)

### Embed Badge

![Health badge](/badges/ggdx-php-toggl/health.svg)

```
[![Health](https://phpackages.com/badges/ggdx-php-toggl/health.svg)](https://phpackages.com/packages/ggdx-php-toggl)
```

###  Alternatives

[antoinefr/flarum-ext-money

Give money to your users for different actions.

2824.2k18](/packages/antoinefr-flarum-ext-money)[moemengaballah/msegat

This is a Laravel package for msegat. Its goal is to remove the complexity

1620.6k](/packages/moemengaballah-msegat)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
