2017 © Pedro Peláez
 

library toggl2redmine

Command line tool to sync toggl time entries to redmine

image

derhasi/toggl2redmine

Command line tool to sync toggl time entries to redmine

  • Monday, February 19, 2018
  • by derhasi
  • Repository
  • 2 Watchers
  • 2 Stars
  • 117 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 3 Forks
  • 3 Open issues
  • 13 Versions
  • 2 % Grown

The README.md

Toggl2Redmine

PHP CLI tool for syncing toggl with redmine., (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Time entry sync

Currently only time-entry-sync is available., (*3)

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

Installation

The installation is simple by using composer. After installing composer you can either install the command globally or within a project., (*4)

Global

In the global installation toggl2redmine will be available as a command line tool., (*5)

  • Run composer global require derhasi/toggl2redmine to install globally.
  • Add export PATH=~/.composer/vendor/bin:$PATH to your .bashrcor .profile

After the installation you should be able to run toggl2redmine time-entry-sync ... from anywhere., (*6)

Local

You can run composer require derhasi/toggl2redmine in any composer enabled project to add this project as a dependency., (*7)

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., (*8)

Global: toggl2redmine.php time-entry-sync ..., (*9)

Local: ./toggl2redmine time-entry-sync ..., (*10)

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

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., (*11)

You can find a template for toggl2redmine.yml at default.toggl2redmine.yml. Make sure to rename it to toggl2redmine.yml!, (*12)

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

mkdir ~/.toggl2redmine
curl https://raw.githubusercontent.com/derhasi/toggl2redmine/master/default.toggl2redmine.yml > ~/.toggl2redmine/toggl2redmine.yml

The Versions

19/02 2018

dev-master

9999999-dev

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3 GPL-3.0-only

The Requires

 

11/07 2017

0.4.0

0.4.0.0

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires

 

16/06 2017

0.3.0

0.3.0.0

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires

 

16/06 2017

dev-18-issue-id-update

dev-18-issue-id-update

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires

 

26/06 2015

0.2.4

0.2.4.0

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires

 

10/02 2015

0.2.3

0.2.3.0

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires

 

22/01 2015

0.2.2

0.2.2.0

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires

 

09/12 2014

0.2.1

0.2.1.0

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires

 

09/12 2014

0.2.0

0.2.0.0

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires

 

04/12 2014

0.1.3

0.1.3.0

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires

 

04/12 2014

0.1.2

0.1.2.0

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires

 

01/12 2014

0.1.1

0.1.1.0

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires

 

01/12 2014

0.1.0

0.1.0.0

Command line tool to sync toggl time entries to redmine

  Sources   Download

GPLv3

The Requires