PHPackages                             zakharov-andrew/yii2-time-tracker - 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. zakharov-andrew/yii2-time-tracker

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

zakharov-andrew/yii2-time-tracker
=================================

Yii2 Time tracker

v0.2.0(2mo ago)325MITPHPPHP &gt;=7.2

Since Jun 26Pushed 4w ago1 watchersCompare

[ Source](https://github.com/ZakharovAndrew/yii2-time-tracker)[ Packagist](https://packagist.org/packages/zakharov-andrew/yii2-time-tracker)[ RSS](/packages/zakharov-andrew-yii2-time-tracker/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (21)Used By (0)

Yii2 Time tracker
=================

[](#yii2-time-tracker)

Yii 2 module for time tracking.

[![Yii2 user module by Zakharov Andrey](docs/img/yii2-time-tracker-Zakharov-Andrey.png)](docs/img/yii2-time-tracker-Zakharov-Andrey.png)

[![Latest Stable Version](https://camo.githubusercontent.com/ead63e3984ce7825d6d54655df82eee26eec9050cab609dec34e96783fe18040/68747470733a2f2f706f7365722e707567782e6f72672f7a616b6861726f762d616e647265772f796969322d74696d652d747261636b65722f762f737461626c65)](https://packagist.org/packages/zakharov-andrew/yii2-time-tracker)[![License](https://camo.githubusercontent.com/2d5960d01e7fd2ae6f47cee0df51bbf8432e25f4ed52eb4d699697d7ab27d7e7/68747470733a2f2f706f7365722e707567782e6f72672f7a616b6861726f762d616e647265772f796969322d74696d652d747261636b65722f6c6963656e7365)](https://packagist.org/packages/zakharov-andrew/yii2-time-tracker)[![Yii2](https://camo.githubusercontent.com/d6b0929173e28cc627430d2519ca1853466a70f37395877eaf4820cb3e1e1909/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f506f77657265645f62792d5969695f4672616d65776f726b2d677265656e2e7376673f7374796c653d666c6174)](http://www.yiiframework.com/)

The time tracking module for the Yii2 framework is a comprehensive solution for monitoring time spent on various tasks within projects. It allows users to easily start, stop, and record time intervals for specific tasks, as well as provides detailed reports on time spent.

- Maintains an individual list of actions for each user role.
- Supports Bootstrap versions: 3, 4, 5
- Supports languages: English, Russian

🚀 Installation
--------------

[](#-installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ composer require zakharov-andrew/yii2-time-tracker

```

or add

```
"zakharov-andrew/yii2-time-tracker": "*"

```

to the `require` section of your `composer.json` file.

Subsequently, run

```
./yii migrate/up --migrationPath=@vendor/zakharov-andrew/yii2-time-tracker/migrations

```

in order to create the settings table in your database.

Or add to console config

```
return [
    // ...
    'controllerMap' => [
        // ...
        'migrate' => [
            'class' => 'yii\console\controllers\MigrateController',
            'migrationPath' => [
                '@console/migrations', // Default migration folder
                '@vendor/zakharov-andrew/yii2-time-tracker/src/migrations'
            ]
        ]
        // ...
    ]
    // ...
];
```

🛠 Usage
-------

[](#-usage)

Add this to your main configuration's modules array

```
    'modules' => [
        'timetracker' => [
            'class' => 'ZakharovAndrew\TimeTracker\Module',
            'bootstrapVersion' => 5, // if use bootstrap 5
            'showTitle' => true, // display H1 headings (default - true)
        ],
        // ...
    ],
```

#### Custom Tabs

[](#custom-tabs)

You can add custom tabs to display additional information, integrate with other modules, or create custom reports:

```
    'modules' => [
        'timetracker' => [
            'class' => 'ZakharovAndrew\TimeTracker\Module',
            'additionalTabs' => [
                [
                    'label' => 'Weekly Report',
                    'view' => 'weekly-report',
                    'params' => function($userId, $model) use ($someData) {
                        // params can be a callable function that returns an array
                        return [
                            'weekData' => TimeTracking::getWeeklyReport($userId),
                            'chartData' => TimeTracking::getChartData($userId),
                            'extra' => $someData,
                        ];
                    },
                ],
                [
                    'label' => 'Export',
                    'view' => 'export-buttons',
                    'params' => ['data' => ['csv', 'pdf', 'excel']], // or just an array
                ],
                [
                    'label' => 'Static Info',
                    'view' => 'info', // params can be omitted entirely
                ],
            ],
        ],
        // ...
    ],
```

👥 Contributing
--------------

[](#-contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add some amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request

📄 License
---------

[](#-license)

**yii2-time-tracker** it is available under a MIT License. Detailed information can be found in the `LICENSE.md`.

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance90

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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

Every ~34 days

Recently: every ~116 days

Total

20

Last Release

75d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/08ab00e707ea2dd0f8703587f1b770398b9662c98da6738d7a5e14c13caa1a8a?d=identicon)[ZakharovAndrew](/maintainers/ZakharovAndrew)

---

Top Contributors

[![ZakharovAndrew](https://avatars.githubusercontent.com/u/37038505?v=4)](https://github.com/ZakharovAndrew "ZakharovAndrew (222 commits)")

---

Tags

phptime-trackingyii2yii2-extensionyii2-modulesyii2-time-trackeryii2extensionmoduletime trackingyii 2time-tracker

### Embed Badge

![Health badge](/badges/zakharov-andrew-yii2-time-tracker/health.svg)

```
[![Health](https://phpackages.com/badges/zakharov-andrew-yii2-time-tracker/health.svg)](https://phpackages.com/packages/zakharov-andrew-yii2-time-tracker)
```

PHPackages © 2026

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