PHP-CLI-Progress-Bar icon indicating copy to clipboard operation
PHP-CLI-Progress-Bar copied to clipboard

A PHP5 CLI Progress bar

Results 6 PHP-CLI-Progress-Bar issues
Sort by recently updated
recently updated
newest added

I don't know how possible this would be but I'd like for this package to integrate with the the windows taskbar progress indicator.

If I init the progress bar with a number higher than 0, e.g. ``` $progressBar = new \ProgressBar\Manager(1, 10); ``` php throws a notice because in Manager.php Line 109 there...

Ajouter un tag permettrait de cibler plus précisément la version voulue dans notre composer.json (au lieu de cibler en dur le hash du dernier commit)

update() only accepts integers while outputting progress bar uses number_format($percent,2) which gives it two decimal places.

Hello, To help the author with this todo ("ask developpers for feedback"). Use this class carefully because it can increase (a lot) the execution time in a very big loop...

``` php $pb = new ProgressBar(); addEtaToProgressBar($pb); $pb->setFormat('%current%/%max% %elapsed% [%bar%] %percent%% %eta%'); function addEtaToProgressBar(ProgressBar &$progressBar) { $registry = $progressBar->getRegistry(); $registry->setValue('startTime', time()); $progressBar->addReplacementRule( '%elapsed%', 40, function ($buffer, $registry) { /** @var...