PHPackages                             net\_bazzline/php\_component\_cli\_progres\_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. net\_bazzline/php\_component\_cli\_progres\_bar

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

net\_bazzline/php\_component\_cli\_progres\_bar
===============================================

free as in freedom free software php command line progress bar

1.0.0(11y ago)3481LGPLv3PHPPHP &gt;=5.3.3

Since May 24Pushed 9y ago4 watchersCompare

[ Source](https://github.com/bazzline/php_component_cli_progress_bar)[ Packagist](https://packagist.org/packages/net_bazzline/php_component_cli_progres_bar)[ RSS](/packages/net-bazzline-php-component-cli-progres-bar/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (1)

Progress Bar for PHP CLI Scripts / Shell Environment
====================================================

[](#progress-bar-for-php-cli-scripts--shell-environment)

This project aims to deliver a easy to use php component for displaying a progress bar in the shell environment.

The current change log can be found [here](https://github.com/bazzline/php_component_apache_status_parser/blob/master/CHANGELOG.md).

Usage
-----

[](#usage)

```
//assuming $items contains an array of items
$progressBar = new \Net\Bazzline\Component\Cli\ProgressBar\ProgressBar();

$progressBar->setTotalSteps(count($items));

foreach ($items as $item) {
    //do something with the item
    $progressBar->forward();
}
//to be on the save side, tell the progress bar that the show is over ;-)
$progressBar->isFinished();
```

Example
-------

[](#example)

```
cd
./example/run.php

+-----------------------------+
| Example of the progress bar |
+-----------------------------+
This demo will demonstrate 5 progress bars.
The number of items will be 3, 6, 9, 12, 150.
The current update interval is 1 second.

Press CTRL-C to stop this demonstration

[========================================================================>] (3/3)

```

Links (other good projects)
===========================

[](#links-other-good-projects)

-
-
-

Final Words
===========

[](#final-words)

Star it if you like it :-). Add issues if you need it. Pull patches if you enjoy it. Write a blog entry if you use it :-D.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

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

Unknown

Total

1

Last Release

4034d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/58451b041f6f5a38c7e62762c96d01f5e2bcac30e322707fe4760a82bccb6856?d=identicon)[artodeto](/maintainers/artodeto)

---

Top Contributors

[![stevleibelt](https://avatars.githubusercontent.com/u/2287220?v=4)](https://github.com/stevleibelt "stevleibelt (11 commits)")

---

Tags

phpclicomponentlgplfree as in freedomprogressbarprogressbar

### Embed Badge

![Health badge](/badges/net-bazzline-php-component-cli-progres-bar/health.svg)

```
[![Health](https://phpackages.com/badges/net-bazzline-php-component-cli-progres-bar/health.svg)](https://phpackages.com/packages/net-bazzline-php-component-cli-progres-bar)
```

###  Alternatives

[nunomaduro/termwind

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

2.5k260.6M359](/packages/nunomaduro-termwind)[alecrabbit/php-cli-snake

Lightweight cli spinner with zero dependencies

29214.4k5](/packages/alecrabbit-php-cli-snake)

PHPackages © 2026

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