PHPackages                             demi/php-timelog - 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. demi/php-timelog

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

demi/php-timelog
================

PHP timer for long-time operations

1.0.1(9y ago)037.7k↓50%1GNUPHPPHP &gt;=5.3.0

Since May 17Pushed 8y ago1 watchersCompare

[ Source](https://github.com/demisang/php-timelog)[ Packagist](https://packagist.org/packages/demi/php-timelog)[ Docs](https://github.com/demisang/php-timelog#readme)[ RSS](/packages/demi-php-timelog/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (3)Used By (1)

php-timer
=========

[](#php-timer)

PHP timer for long-time operations

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

[](#installation)

Run

```
composer require "demi/php-timelog" "~1.0"

```

Usage
-----

[](#usage)

For any console action:

```
$bigData = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];

$allCount = count($bigData);
$timer = new \demi\timelog\TimeLog($allCount);
$timer->showStart();
foreach ($bigData as $item) {
    // some handling start...
    sleep(rand(1, 2));
    // some handling finish...

    $timer->handled++;
    $timer->showStatus(3); // 3 - how often show status message
}
$timer->showFinish();
```

Output:

```
Starting handling: 10 items
Handled:  3/10  Remaining: 00:00:09     Speed: 0.74/sec
Handled:  6/10  Remaining: 00:00:05     Speed: 0.74/sec
Handled:  9/10  Remaining: 00:00:01     Speed: 0.75/sec

Finished after 00:00:14 Handled: 10 items
```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

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

Every ~299 days

Total

2

Last Release

3353d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a0d6a9a7404fc232aad56e3a2f8d4d95c71614dc34da737fbf6a60a611050e7?d=identicon)[demi](/maintainers/demi)

---

Top Contributors

[![demisang](https://avatars.githubusercontent.com/u/600251?v=4)](https://github.com/demisang "demisang (7 commits)")

---

Tags

logphptimer

### Embed Badge

![Health badge](/badges/demi-php-timelog/health.svg)

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

###  Alternatives

[opengento/module-webapi-logger

This module allows you to analyze all the webapi rest done call toward your Magento.

1014.9k](/packages/opengento-module-webapi-logger)

PHPackages © 2026

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