php cli progress bar
v2.1.0
Progress bar for command line PHP scripts.

To install, just run the following Composer command.
composer require divineomega/php-cli-progress-bar
The following code snippet shows a basic usage example.
$max = 250;
$progressBar = new DivineOmegaCliProgressBarProgressBar;
$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();