PHPackages                             mohamed-abdul-fattah/jira-logger - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. mohamed-abdul-fattah/jira-logger

ActiveProject[Logging &amp; Monitoring](/categories/logging)

mohamed-abdul-fattah/jira-logger
================================

Jira Logger CLI Tool

0.5.3(2y ago)8442[5 issues](https://github.com/mohamed-abdul-fattah/jira-logger/issues)[2 PRs](https://github.com/mohamed-abdul-fattah/jira-logger/pulls)MITPHPPHP ^7.2

Since Mar 7Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/mohamed-abdul-fattah/jira-logger)[ Packagist](https://packagist.org/packages/mohamed-abdul-fattah/jira-logger)[ RSS](/packages/mohamed-abdul-fattah-jira-logger/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (6)Versions (14)Used By (0)

 [![](/jiralogger.png)](/jiralogger.png) [![Stable](https://camo.githubusercontent.com/1a2d25beb2630c9b5bec028b2c2192c450a3b1fedc9bf87fe67489483a2da67d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737461626c652d302e352e302d626c75652e737667)](https://camo.githubusercontent.com/1a2d25beb2630c9b5bec028b2c2192c450a3b1fedc9bf87fe67489483a2da67d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f737461626c652d302e352e302d626c75652e737667) [![PHP](https://camo.githubusercontent.com/f9a1e270c329e2fe75fe22259ad1005020e55998bde3daa70953e1d0179d16fc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d5e372e322d677265656e)](https://camo.githubusercontent.com/f9a1e270c329e2fe75fe22259ad1005020e55998bde3daa70953e1d0179d16fc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d5e372e322d677265656e) [![License](https://camo.githubusercontent.com/188113d3cd57fe0befefccf2a1835938c1810a7994fbe0e869a59dcb0a0b12e2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d79656c6c6f77677265656e2e737667)](https://camo.githubusercontent.com/188113d3cd57fe0befefccf2a1835938c1810a7994fbe0e869a59dcb0a0b12e2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d79656c6c6f77677265656e2e737667)

Table of Content
----------------

[](#table-of-content)

- [Installation](#installation)
    - [Regular](#regular)
    - [Docker](#docker)
- [Usage](#usage)
    - [Setup](#setup-command)
    - [Timezone](#timezone-command)
    - [Connect](#connect-command)
    - [Start](#start-command)
    - [Stop](#stop-command)
    - [Status](#status-command)
    - [Abort](#abort-command)
    - [Sync](#sync-command)
    - [Tempo](#tempo)
        - [Attributes](#attributes-command)
        - [List](#attributes-list-command)
        - [Sync](#tempo-sync-command)
- Testing
- [Contributing](#contributing)
- [License](#license)
- [Change Logs](#changelog)

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

[](#installation)

### Regular

[](#regular)

- Pre-requisites
    - PHP version &gt;= 7.2
    - PHP SQLite extension
    - [Composer](https://getcomposer.org) package manager
- Run the following commands to get the Jira logger project

```
composer create-project mohamed-abdul-fattah/jira-logger
cd jira-logger
# List Jira logger commands
php jiralogger list
```

### Docker

[](#docker)

- Pre-requisites
    - Install [Docker](https://docs.docker.com/install/) locally
    - [Composer](https://getcomposer.org) package manager
- Run the following commands to setup Jira logger via docker

```
composer create-project mohamed-abdul-fattah/jira-logger
cd jira-logger
docker-compose up -d
# Use the following command to interacte with the jiralogger
# through the docker container
docker exec -it jiralogger-cli php jiralogger
```

Usage
-----

[](#usage)

### Setup Command

[](#setup-command)

`setup` command should be run once at the setup of the command line tool to create the database and request for your Jira server URI.

```
# https://jira.com/ is an example of your Jira server URI
php jiralogger setup https://jira.com/
```

### Timezone Command

[](#timezone-command)

Use `config:timezone` command to configure the start and end log time timezone

```
php jiralogger config:timezone
# Choose between UTC and Africa/Cairo timezones
```

### Connect Command

[](#connect-command)

`connect` command is your way for authentication with your Jira server. Logs syncing process needs authentication.

There are 2 ways for authentication with Jira servers

1. Cookies based authentication (older [deprecated](https://confluence.atlassian.com/cloud/deprecation-of-basic-authentication-with-passwords-for-jira-and-confluence-apis-972355348.html) mechanism)

```
# This way, connect command will ask for your Jira username and password
php jiralogger connect --use-cookies

# You can provide username via command options
php jiralogger connect -u john.doe --use-cookies
```

2. Basic authentication using API tokens. Get your Jira API token from [here](https://id.atlassian.com/manage-profile/security/api-tokens).

```
# This way, connect will ask for you Jira username (email) and API token
php jiralogger connect

# You can provide username via command options alongside with the API token
php jiralogger connect -u john.doe@jira.com --api-token token
```

### Start Command

[](#start-command)

Use `log:start` command to start a logging timer for a Jira task.

```
# Running start with task ID would start with "now" time
php jiralogger log:start TASK-123

# Optionally, you can provide log starting time and log description
php jiralogger log:start TASK-123 -t 13:20 -d "Work in progress"
```

Using tempo add-on for logging with custom attributes (visit [tempo](#tempo) section for more information) can be handled with the `group` option. Refer to [tempo attributes](#attributes-command) for more information about custom attributes.

```
php jiralogger log:start TASK-123 -g groupname
```

### Stop Command

[](#stop-command)

Use `log:stop` command to stop a logging timer for a Jira task.

```
# Running stop will stop task at "now" time
php jiralogger log:stop

# Optionally, you can provide end time and override starting description
php jiralogger log:stop -t 15:30 -d "DONE"
```

Using tempo add-on for logging with custom attributes (visit [tempo](#tempo) section for more information) can be handled with the `group` option. Refer to [tempo attributes](#attributes-command) for more information about custom attributes.

```
# Override provided tempo group on log:start
php jiralogger log:stop -g groupname
```

### Status Command

[](#status-command)

Use `log:status` command to get the current running task information if any, and the total un-synced logs items.

```
php jiralogger log:status
```

### Abort Command

[](#abort-command)

Use `log:abort` command to abort a logging timer for a started Jira task.

```
php jiralogger log:abort
```

### Sync Command

[](#sync-command)

Use `log:sync` command to sync and log times to Jira tasks. Requires authentication (via [`connect`](#connect-command) command)

```
php jiralogger log:sync
```

### Tempo

[](#tempo)

[Tempo](https://www.tempo.io/) is a Jira add-on for better time tracking and reports. Before using Tempo features, check with your admin whether it is installed on your Jira server or not.

#### Attributes Command

[](#attributes-command)

Use `tempo:attributes` to save custom attributes added by your Jira admin.

```
php jiralogger tempo:attributes '{"_Role_": {"name": "Role","value": "Developer","workAttributeId": 2},"_Account_": {"name": "Account","value": "PROJ","workAttributeId": 3}}'
```

By default, attributes are saved under `default` group name. While you can provide different attributes with different group names.

```
php jiralogger tempo:attributes '{"_Role_": {"name": "Role","value": "Developer","workAttributeId": 2},"_Account_": {"name": "Account","value": "PROJ","workAttributeId": 3}}' -g mygroup
```

#### Attributes List Command

[](#attributes-list-command)

Use `tempo:list` to list the saved attributes by [`tempo:attributes`](#attributes-command)

```
php jiralogger tempo:list
```

#### Tempo Sync Command

[](#tempo-sync-command)

Use `tempo:sync` to sync the logs to Jira using Tempo attributes. Default attributes group is used for un-grouped logs, while grouped logs (logs logged with `group` option) will use its group.

```
# By default the tempo group is "default"
php jiralogger tempo:sync
# You can override tempo group using group option
php jiralogger tempo:list -g groupname
```

Contributing
------------

[](#contributing)

Please, read [CONTRIBUTING.md](/CONTRIBUTING.md) for details on the process of submitting pull requests to us.

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](/LICENSE) file for details

ChangeLog
---------

[](#changelog)

Please, read the [CHANGELOG.md](/CHANGELOG.md) for more details about releases updates.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance47

Moderate activity, may be stable

Popularity15

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.7% 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 ~125 days

Recently: every ~298 days

Total

11

Last Release

1005d ago

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

0.2.0PHP ^7.0

0.2.2PHP ^7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/26ede65d80c85cb7a8df6a00811d3a6e591fb57a252b9a7b8ba2028666a028c1?d=identicon)[csmohamed](/maintainers/csmohamed)

---

Top Contributors

[![mohamed-abdul-fattah](https://avatars.githubusercontent.com/u/9275467?v=4)](https://github.com/mohamed-abdul-fattah "mohamed-abdul-fattah (129 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![rodrigoprimo](https://avatars.githubusercontent.com/u/77215?v=4)](https://github.com/rodrigoprimo "rodrigoprimo (1 commits)")

---

Tags

clijiralogloggingphpworklog

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/mohamed-abdul-fattah-jira-logger/health.svg)

```
[![Health](https://phpackages.com/badges/mohamed-abdul-fattah-jira-logger/health.svg)](https://phpackages.com/packages/mohamed-abdul-fattah-jira-logger)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

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

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[spatie/laravel-export

Create a static site bundle from a Laravel app

646127.9k5](/packages/spatie-laravel-export)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)

PHPackages © 2026

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