PHPackages                             jord-jd/php-cli-progress-bar - 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. jord-jd/php-cli-progress-bar

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

jord-jd/php-cli-progress-bar
============================

Progress bar for command line PHP scripts

v4.0.0(3mo ago)1596[1 issues](https://github.com/Jord-JD/php-cli-progress-bar/issues)8LGPL-3.0-onlyPHPPHP &gt;=5.6

Since Mar 28Pushed 3mo agoCompare

[ Source](https://github.com/Jord-JD/php-cli-progress-bar)[ Packagist](https://packagist.org/packages/jord-jd/php-cli-progress-bar)[ GitHub Sponsors](https://github.com/DivineOmega)[ RSS](/packages/jord-jd-php-cli-progress-bar/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (8)Used By (8)

⏱ PHP CLI Progress Bar
======================

[](#-php-cli-progress-bar)

Progress bar for command line PHP scripts.

[![Example of PHP CLI Progress Bar](assets/images/php-cli-progress-bar-example.gif)](assets/images/php-cli-progress-bar-example.gif)

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

[](#installation)

To install, just run the following Composer command.

```
composer require jord-jd/php-cli-progress-bar

```

Usage
-----

[](#usage)

The following code snippet shows a basic usage example.

```
$max = 250;

$progressBar = new JordJD\CliProgressBar\ProgressBar;
$progressBar->setMaxProgress($max);

for ($i=0; $i < $max; $i++) {
    usleep(200000); // Instead of usleep, process a part of your long running task here.
    $progressBar->advance()->display();
}

$progressBar->complete();
```

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance81

Actively maintained with recent releases

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~714 days

Total

7

Last Release

93d ago

Major Versions

v1.0.1 → v2.0.02018-04-20

v2.1.0 → v3.0.02026-02-14

v3.0.0 → v4.0.02026-02-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/c580cdf7c14898fff179cdfc1085892091d5d2f49d917873a12365af9ac77c93?d=identicon)[Jord-JD](/maintainers/Jord-JD)

---

Top Contributors

[![Jord-JD](https://avatars.githubusercontent.com/u/650645?v=4)](https://github.com/Jord-JD "Jord-JD (9 commits)")

---

Tags

command-linephpphp-libraryprogress-bar

### Embed Badge

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

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.1k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)[codedungeon/php-cli-colors

Liven up you PHP Console Apps with standard colors

10210.1M26](/packages/codedungeon-php-cli-colors)

PHPackages © 2026

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