kanduvisla / cli-progressbar
CLI Progress Bar
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kanduvisla/cli-progressbar
This package is not auto-updated.
Last update: 2025-10-26 02:58:42 UTC
README
A basic progress bar for usage in CLI scripts. It provides the following information:
- Progress Bar
- Percentage
- Current Iteration / Total Iterations
- Estimated Time
- Memory Usage
Example
The output will look somewhat like this:
Installation
Installation is done simply using Composer:
composer require kanduvisla/cli-progressbar
Usage
use Kanduvisla\ProgressBar;
ProgressBar::show($currentIteration, $totalIterations);
See examples/basic.php for a simple example.
