PHPackages                             flooris/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. flooris/php-toggl

ActiveLibrary

flooris/php-toggl
=================

PHP SDK for Toggl, the time tracker app

1.0.0(7y ago)0311MITPHPPHP &gt;=5.5.9

Since May 26Pushed 7y ago2 watchersCompare

[ Source](https://github.com/flooris/flooris-php-toggl)[ Packagist](https://packagist.org/packages/flooris/php-toggl)[ RSS](/packages/flooris-php-toggl/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (1)Versions (2)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 flooris/php-toggl`

### Download

[](#download)

Download the zip or `git clone git@github.com:flooris/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);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2911d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1033813?v=4)[flooris](/maintainers/flooris)[@flooris](https://github.com/flooris)

---

Top Contributors

[![fkwakkenbos](https://avatars.githubusercontent.com/u/1029218?v=4)](https://github.com/fkwakkenbos "fkwakkenbos (1 commits)")

---

Tags

phpproductivitytoggltimetracker

### Embed Badge

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

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

###  Alternatives

[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.3M14](/packages/xeroapi-xero-php-oauth2)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[morningtrain/toggl-api

A complete native php wrapper for the Toggl API

3659.5k1](/packages/morningtrain-toggl-api)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

2369.5k3](/packages/kinde-oss-kinde-auth-php)

PHPackages © 2026

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