PHPackages                             ankalagon/eta - 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. ankalagon/eta

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ankalagon/eta
=============

Library to count progress and estimated time of arrival

1.0.3(7y ago)120.1kMITPHPPHP &gt;=7.1

Since Feb 5Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ankalagon/eta)[ Packagist](https://packagist.org/packages/ankalagon/eta)[ RSS](/packages/ankalagon-eta/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)DependenciesVersions (5)Used By (0)

Service can count priogress and estimated time of arrival (ETA) of a process

Requirements
------------

[](#requirements)

- PHP7.1 and above

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

[](#installation)

Update your composer.json and run `composer update`

```
{
    "require": {
        "ankalagon/eta": "^1.0"
    }
}
```

or execute

```
composer require ankalagon/eta
```

Usage
-----

[](#usage)

```
    use Ankalagon\ETA\Eta;

    $eta = new Ankalagon\ETA\Eta($startTime, $allDataToProcess);

    //need to pass some time
    echo sprintf('Progress: %s%%, ETA: %s', $eta->getProgress(), $eta->getEta()).PHP_EOL;
```

Output produce by example script (in Example directory):

```
Progress: 0.04, ETA: 0h 08m 45s
Progress: 0.05, ETA: 0h 08m 45s
Progress: 0.05, ETA: 0h 08m 36s
Progress: 0.06, ETA: 0h 08m 28s
Progress: 0.07, ETA: 0h 08m 19s
Progress: 0.08, ETA: 0h 08m 12s
Progress: 0.09, ETA: 0h 08m 13s
Progress: 0.10, ETA: 0h 08m 10s
Progress: 0.11, ETA: 0h 08m 03s
Progress: 0.12, ETA: 0h 07m 59s
Progress: 0.13, ETA: 0h 07m 58s
Progress: 0.14, ETA: 0h 07m 56s
Progress: 0.15, ETA: 0h 07m 49s
Progress: 0.16, ETA: 0h 07m 43s
Progress: 0.16, ETA: 0h 07m 40s
Progress: 0.17, ETA: 0h 07m 38s
Progress: 0.18, ETA: 0h 07m 35s
Progress: 0.19, ETA: 0h 07m 31s
Progress: 0.20, ETA: 0h 07m 24s
Progress: 0.21, ETA: 0h 07m 20s

```

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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 ~4 days

Total

4

Last Release

2638d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3070f07443b624ae2fde41decb31c0744281620e6766a74ef6cbb5ff125aefae?d=identicon)[piotrsuszalski](/maintainers/piotrsuszalski)

---

Top Contributors

[![ankalagon](https://avatars.githubusercontent.com/u/532333?v=4)](https://github.com/ankalagon "ankalagon (1 commits)")

---

Tags

timeprogresseta

### Embed Badge

![Health badge](/badges/ankalagon-eta/health.svg)

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

###  Alternatives

[symfony/clock

Decouples applications from the system clock

430168.9M205](/packages/symfony-clock)[knplabs/knp-time-bundle

Making your dates and durations look sensible and descriptive

6308.9M39](/packages/knplabs-knp-time-bundle)[league/period

Time range API for PHP

7335.4M21](/packages/league-period)[wapmorgan/morphos

A morphological solution for Russian and English language written completely in PHP. Provides classes to inflect personal names, geographical names, decline and pluralize nouns, generate cardinal and ordinal numerals, spell out money amounts and time.

8351.3M7](/packages/wapmorgan-morphos)[brick/date-time

Date and time library

3623.3M60](/packages/brick-date-time)[aeon-php/calendar

PHP type safe, immutable calendar library

2079.7M16](/packages/aeon-php-calendar)

PHPackages © 2026

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