coexp / wunder-bar
Beautiful console progressBar
v0.2.0
2019-10-18 15:34 UTC
Requires
- php: >=7.1
- symfony/console: *
Requires (Dev)
- phpunit/phpunit: ^6.3
This package is auto-updated.
Last update: 2025-03-22 04:54:22 UTC
README
wUnderBar
This package helps to implement Symfony/ProgressBar on multiple line. Progressbar is print on stdout, and not stdError by default
Examples
Set two progressbar:
$mb = (new MultipleBar($this->output)) ->setTitle('wUnderBar Example #1') ->addProgressBarByName(['Master', 'Child']);
Advance:
$mb->getProgressBarByName('Child')->advance(); $mb->getProgressBarByName('Master')->advance(); $mb->show();
Finish by erasing bar:
$mb->erase();