PHPackages                             noroman/progress-bar-cli - 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. [CLI &amp; Console](/categories/cli)
4. /
5. noroman/progress-bar-cli

AbandonedArchivedLibrary[CLI &amp; Console](/categories/cli)

noroman/progress-bar-cli
========================

Progress bar CLI

v0.0.2(9y ago)0151MITPHP

Since May 8Pushed 9y agoCompare

[ Source](https://github.com/NovikovRoman/ProgressBarCLI)[ Packagist](https://packagist.org/packages/noroman/progress-bar-cli)[ RSS](/packages/noroman-progress-bar-cli/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (2)Used By (0)

```
require_once __DIR__ . '/vendor/autoload.php';
use ProgressBarCLI\ProgressBarCLI;

echo 'классический' . PHP_EOL;
$pb = new ProgressBarCLI(100);

for ($i = 0; $i < 100; ++$i) {
    $pb->advance();
    usleep(20000);
}

echo 'классический с шагом' . PHP_EOL;
for ($i = 0; $i < 101; $i += 10) {
    $pb->update($i);
    usleep(200000);
}

echo 'произвольное максимальное значение' . PHP_EOL;
$pb = new ProgressBarCLI(1343);
for ($i = 0; $i < 1343; ++$i) {
    $pb->advance();
    usleep(2000);
}

echo 'произвольное максимальное значение с шагом' . PHP_EOL;
for ($i = 0; $i < 1343; $i += 20) {
    $pb->update($i);
    usleep(2000);
}
/**
 * В данном примере необходимо обязательно завершить прогресс, тк в цикле счетчик
 * отсчитает до 1340, что не является завершением прогресса. Из-за этого консольное
 * приглашение будет на текущей строке
 */
$pb->update(1343);

echo 'произвольное максимальное значение с шагом и сбросом' . PHP_EOL;
for ($i = 0; $i < 400; $i += 20) {
    $pb->update($i);
    usleep(200000);
}
/**
 * Либо сбрасываем в случае принудительной остановки
 */
$pb->stop();
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

3294d ago

### Community

Maintainers

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

---

Top Contributors

[![NovikovRoman](https://avatars.githubusercontent.com/u/3408163?v=4)](https://github.com/NovikovRoman "NovikovRoman (2 commits)")

---

Tags

cliprogressbarprogress

### Embed Badge

![Health badge](/badges/noroman-progress-bar-cli/health.svg)

```
[![Health](https://phpackages.com/badges/noroman-progress-bar-cli/health.svg)](https://phpackages.com/packages/noroman-progress-bar-cli)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k239.8M286](/packages/nunomaduro-termwind)[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[wp-cli/php-cli-tools

Console utilities for PHP

68325.0M367](/packages/wp-cli-php-cli-tools)[socialengine/sniffer-rules

A Lumen 5 and Laravel 5 SquizLabs Code Sniffer 2.0 artisan command. Detect violations of a defined coding standard. It helps your code remains clean and consistent.

1248.2k1](/packages/socialengine-sniffer-rules)

PHPackages © 2026

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