PHPackages                             undpaul/toggl2redmine - 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. [CLI &amp; Console](/categories/cli)
4. /
5. undpaul/toggl2redmine

ActiveLibrary[CLI &amp; Console](/categories/cli)

undpaul/toggl2redmine
=====================

Command line tool to sync toggl time entries to redmine

2.2.1(6mo ago)0682[1 PRs](https://github.com/undpaul/toggl2redmine/pulls)GPL-3.0-onlyPHPPHP &gt;=8.2.0

Since Dec 1Pushed 6mo agoCompare

[ Source](https://github.com/undpaul/toggl2redmine)[ Packagist](https://packagist.org/packages/undpaul/toggl2redmine)[ RSS](/packages/undpaul-toggl2redmine/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (4)Dependencies (11)Versions (24)Used By (0)

Toggl2Redmine
=============

[](#toggl2redmine)

PHP CLI tool for syncing toggl with redmine.

[![Latest Stable Version](https://camo.githubusercontent.com/b846a181fa62cd9c22d77efd8e985f6ce8eb3dc62347910e9d74940dc76e78a3/68747470733a2f2f706f7365722e707567782e6f72672f756e647061756c2f746f67676c327265646d696e652f762f737461626c652e737667)](https://packagist.org/packages/undpaul/toggl2redmine) [![Total Downloads](https://camo.githubusercontent.com/57307a7b7473624138933114d073b2a148f5831d9cd38c74fe643707513f5462/68747470733a2f2f706f7365722e707567782e6f72672f756e647061756c2f746f67676c327265646d696e652f646f776e6c6f6164732e737667)](https://packagist.org/packages/undpaul/toggl2redmine) [![Latest Unstable Version](https://camo.githubusercontent.com/9a73c7b5a1c7e98a1a19a3a099d3262c4c180a174ad294d479a085e4752fb5d0/68747470733a2f2f706f7365722e707567782e6f72672f756e647061756c2f746f67676c327265646d696e652f762f756e737461626c652e737667)](https://packagist.org/packages/undpaul/toggl2redmine) [![License](https://camo.githubusercontent.com/58406fa55c60f294a43e9a5e479799f177813f6197d31084b4694e2f81dd2e21/68747470733a2f2f706f7365722e707567782e6f72672f756e647061756c2f746f67676c327265646d696e652f6c6963656e73652e737667)](https://packagist.org/packages/undpaul/toggl2redmine)

Time entry sync
---------------

[](#time-entry-sync)

Currently only `time-entry-sync` is available.

- One-way-synchronisaton from toggl to Redmine
- Mapping of Toggl tag name with Redmine
- Sync state is marked as tag `#synched` in Toggl

Installation
------------

[](#installation)

The installation is simple by using [composer](https://getcomposer.org/). After [installing composer](https://getcomposer.org/doc/00-intro.md) you can either install the command globally or within a project.

### Docker

[](#docker)

To run the script using Docker you can build the image:

`docker build -t local/toggl2redmine .`

Then you can run it like this:

`docker run -v /path/to/toggl2redmine.yml:/app/vendor/undpaul/toggl2redmine/toggl2redmine.yml local/toggl2redmine time-entry-sync`

### Global

[](#global)

In the global installation `toggl2redmine` will be available as a command line tool.

- Run `composer global require undpaul/toggl2redmine` to install globally.
- Add `export PATH=~/.composer/vendor/bin:$PATH` to your `.bashrc`or `.profile`

After the installation you should be able to run `toggl2redmine time-entry-sync ...` from anywhere.

### Local

[](#local)

You can run `composer require undpaul/toggl2redmine` in any composer enabled project to add this project as a dependency.

Usage
-----

[](#usage)

You can run the global or local command by appending options, use a configuration file or use both. A command line argument or option will allways override a setting from the `toggl2redmine.yml`.

Global: `toggl2redmine.php time-entry-sync ...`

Local: `./toggl2redmine time-entry-sync ...`

### Command line arguments and options

[](#command-line-arguments-and-options)

```
Usage:
 time-entry-sync [--workspace="..."] [--fromDate="..."] [--toDate="..."] [--defaultActivity="..."] redmineURL redmineAPIKey tooglAPIKey

Arguments:
 redmineURL            Provide the URL for the redmine installation
 redmineAPIKey         The APIKey for accessing the redmine API
 tooglAPIKey           API Key for accessing toggl API

Options:
 --workspace           Workspace ID to get time entries from
 --fromDate            From Date to get Time Entries from (default: "-1 day")
 --toDate              To Date to get Time Entries from (default: "now")
 --defaultActivity     Name of the default redmine activity to use for empty time entry tags (default: "")

```

### Configuration

[](#configuration)

You can place a `toggl2redmine.yml` in your current working directory for local defaults. For global defaults you can place it at `~/.toggl2redmine/toggl2redmine.yml`. Attention: local and global defaults will **not** be merged. The local default always take precedence over the global defaults, in the case it exists.

You can find a template for `toggl2redmine.yml` at [default.toggl2redmine.yml](default.toggl2redmine.yml). Make sure to rename it to `toggl2redmine.yml`!

For example, for adding the default config template to the global folder you can simply type:

```
mkdir ~/.toggl2redmine
curl https://github.com/undpaul/toggle2redmine/blob/main/default.toggl2redmine.yml > ~/.toggl2redmine/toggl2redmine.yml
```

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance68

Regular maintenance activity

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 78.3% 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

Every ~173 days

Recently: every ~62 days

Total

24

Last Release

188d ago

Major Versions

0.4.0 → 1.1.02021-05-21

1.x-dev → 2.0.02024-05-29

PHP version history (3 changes)0.1.0PHP &gt;=5.4.0

1.1.1PHP &gt;=7.4.0

2.1.3PHP &gt;=8.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/a6d0667ccddecb7c5bca8d3a3042752c7880cf363fdad2e36de472989c4d5b58?d=identicon)[undpaul](/maintainers/undpaul)

---

Top Contributors

[![derhasi](https://avatars.githubusercontent.com/u/118502?v=4)](https://github.com/derhasi "derhasi (65 commits)")[![stborchert](https://avatars.githubusercontent.com/u/105101?v=4)](https://github.com/stborchert "stborchert (16 commits)")[![Cyberschorsch](https://avatars.githubusercontent.com/u/273226?v=4)](https://github.com/Cyberschorsch "Cyberschorsch (2 commits)")

### Embed Badge

![Health badge](/badges/undpaul-toggl2redmine/health.svg)

```
[![Health](https://phpackages.com/badges/undpaul-toggl2redmine/health.svg)](https://phpackages.com/packages/undpaul-toggl2redmine)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)

PHPackages © 2026

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